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
>>> See, e.g.
>>> 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
>> 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.
Here it is, for your perusal:
and the test driver code:
This will be the basis of the LL/Phoenix merger that's being developed
-- 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