Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2004-02-25 21:57:07


Joel de Guzman wrote:

> Max Motovilov wrote:
>
>> "Brian McNamara" <lorgon_at_[hidden]> wrote in message
>> news:20040225235607.GA1327_at_gaia3.cc.gatech.edu...
>>
>>
>>> See, e.g.
>>> http://www.boost.org/libs/lambda/doc/ar01s06.html
>>> operator-tag representations as well as the logic that "when combining
>>> float and double, promote both to double" already exist somewhere in
>>> Boost (ask Joel or Jaakko, I dunno the details), so reuse those.
>>
>>
>>
>> Looks exactly like what I was proposing, even the syntax is similar. I
>> knew
>> it had to be there somewhere :)
>
>
> If you want a newer technology, there's one in the boost-sandbox.
> See: boost/utility/type_deduction.hpp
> and a test program: libs/utility/type_deduction_tests.cpp.
>

[snip]

Here it is, for your perusal:

     http://tinyurl.com/yre5d

and the test driver code:

     http://tinyurl.com/yqh2e

This will be the basis of the LL/Phoenix merger that's being developed
right now.

Regards,

-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net

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