|
Boost : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2001-11-09 13:20:50
Beman Dawes wrote:
> >std::make_pair("a", "b") does not work. call traits allows to write
> >make_pair version that will work, and even contains such thing as
> >an example. Shouldn't it go to the tuple library?
>
> Be a bit cautious; std::make_pair has changed in a Defect Report to pass by
> value. See http://std.dkuug.dk/jtc1/sc22/wg21/docs/lwg-defects.html#181
>
> The whole point is to make std::make_pair("a", "b") work.
Thanks for the information. However, there will be a long time before this
change will make its way into the standard. Shall we wait?
- Vladimir
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk