stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Travis Vitek" <>
Subject RE: type_traits progress
Date Fri, 30 May 2008 19:56:36 GMT

Eric Lemings wrote:
>> Travis Vitek wrote:
>> As an example, the array traits above are all closely related 
>> and their
>> implementations are similar. There are five traits, and those traits
>> span three sections of the standard.
>> I'm open to doing some type of grouping, we just need to 
>> understand how
>> we want to group them and then how we want to name the files.
>The term you're looking for is cohesion.  :)  I kinda like this
>organization.  Couple things though.
>Why put __rw_decay, a single helper trait in its own header?

Well decay deals with conversion from array to pointer and function to
function pointer conversions. I can't necessarily put it into both
_meta_array.h and _meta_func.h, so I figured it would be best to put it
into a file by itself.

>Also I would use the filename rw/_meta_util.h rather than
>rw/_meta_other.h but that's just me.  :)

Yeah, I could do that.


View raw message