This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]