[cxx0x] stl_pair update patch
Chris Fairles
chris.fairles@gmail.com
Tue Sep 4 19:03:00 GMT 2007
Wrote up a patch implementing 20.2.3 from N2369. Few questions:
In the 'bits' headers, should I be using the __GXX_EXPERIMENTAL_CXX0X__
macro to add cxx0x-only functionality?
I get circular-dependancy nightmares if I try to #include <utility> from
within a "bits" header included from utility itself. Is the way I'm fwd
declaring the type traits and identity/move/forward a satisfactory solution?
I modified stl_algobase to make std::swap take rvalue ref's and does the
"triple-move". If thats the case, then should the pair's swap std::move()
first and second into std::swap?
Cheers,
Chris
http://www.nabble.com/file/p12484504/gcc-cxx0x-stl-pair.patch
gcc-cxx0x-stl-pair.patch
--
View this message in context: http://www.nabble.com/-cxx0x--stl_pair-update-patch-tf4379681.html#a12484504
Sent from the gcc - libstdc++ mailing list archive at Nabble.com.
More information about the Libstdc++
mailing list