Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2007-09-16 04:05:36


Marco Costalba wrote:
> On 9/15/07, Tobias Schwinger <tschwinger_at_[hidden]> wrote:
>> That's not what I meant. Don't just substitute the nested typedef but
>> the whole metafunction:
>>
>> struct make_string
>> {
>> typedef std::string result_type;
>>

For more info on this, see:

http://boost.org/libs/utility/utility.htm#result_of
and http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/papers/2003/n1454.html

Regards and thanks, Tobias!

Cheers,

-- 
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