Boost logo

Boost :

Subject: Re: [boost] [fusion] is there an adapter for C-arrays?
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2010-02-07 17:01:37


----- Original Message -----
From: "Christopher Schmidt" <mr.chr.schmidt_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Sunday, February 07, 2010 10:02 PM
Subject: Re: [boost] [fusion] is there an adapter for C-arrays?

>
> vicente.botet schrieb:
>>
>> Hi,
>>
>> I've the impression you have introduced a interface break as before the array directory was for boost_array, and now is for POD arrays?
>
> I moved the functionality for boost::array to boost_array.hpp .
> boost_array.hpp is included by array.hpp though.
>
> https://svn.boost.org/trac/boost/browser/trunk/boost/fusion/adapted/array.hpp#L12

Do you mean that the files in 1.42, boost\fusion\adapted\array\* where not public,and that only the files at the adaptee level where public?
 

> I used file prefixes in the c++0x port (array.hpp, boost_array.hpp,
> std_array.hpp) to distinguish between specific types and/or namespaces.
>>From a plain technical point of view this is a more convenient as the
> detail implementation of certain types may be shared across namespaces.
>
> https://svn.boost.org/trac/boost/browser/sandbox/SOC/2009/fusion/boost/fusion/adapted

Yes, this is more coherent than the current file naming, BTW mpl.hpp doesn't follows the rule.
Vicente


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk