Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2007-10-29 19:12:59


on Sat Oct 27 2007, Douglas Gregor <dgregor-AT-osl.iu.edu> wrote:

> On Sat, 2007-10-27 at 11:08 -0400, Arkadiy Vertleyb wrote:
>> "Eric Niebler" <eric_at_[hidden]> wrote
>>
>> > In order for BOOST_TYPEOF to work with xpressive's static regexes
>> > (something I'm actively trying to support), I need registrations for
>> > reference_wrapper<> and mpl::int_<>. I'm happy to add them, but I'm not
>> > sure where. Thoughts?
>>
>> Looks like the model where authors are responsible for registering their own
>> classes dosn't work quite well... Maybe there should be a designated place
>> with collective ownership, where interested users could add such
>> registrations? This place could mimique the boost directory structure, to
>> avoid conflicts, something like:
>>
>> typeof_registrations
>> mpl
>> bind
>> xpressive
>> spirit
>> ...
>
> There are several libraries that have this kind of problem. typeof needs
> registrations, serialization needs serialize() functions, MPI needs
> datatype traits, etc.

Python needs Python bindings...

> I wonder if we can solve this problem for all of Boost with some
> kind of automatic scheme that says: if you include header A from one
> library and header B from another library, you automatically get
> whatever glue makes A and B work well together.

...but Python doesn't really fit into this scheme of yours. There
aren't any headers that bind BGL to Python.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

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