From: Joel de Guzman (joel_at_[hidden])
Date: 2006-05-05 13:30:44
David Abrahams wrote:
> Joel de Guzman <joel_at_[hidden]> writes:
>>> In the extension example, I see repeatedly the same patter
>>> transferring the cv-ref qualification from one type to another. Can't
>>> that be made simpler for extenders?
>>> typedef typename mpl::if_<
>>> std::string const&,
>>> std::string&>::type type;
>> Can you point me to an example in the library, please?
> This isn't from the library code. I copied it directly from the docs
> at libs/fusion/doc/html/fusion/extension.html
Ah, ok. I'll let Dan reply then. He wrote that part of the docs.
-- 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