This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[cxx0x] stl_pair update patch
- From: Chris Fairles <chris dot fairles at gmail dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Tue, 4 Sep 2007 12:02:53 -0700 (PDT)
- Subject: [cxx0x] stl_pair update patch
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.