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]

Re: [C++0x] nullptr


And here are the library parts. Tested x84_64/Linux and check in to trunk.

2010-06-05  Magnus Fromreide  <magfr@lysator.liu.se>
            Jonathan Wakely  <jwakely.gcc@gmail.com>

        * include/std/functional (function): Add nullptr_t support.
        * include/bits/shared_ptr.h (shared_ptr): Likewise.
        * include/bits/unique_ptr.h (unique_ptr): Likewise.

2010-06-05  Jonathan Wakely  <jwakely.gcc@gmail.com>

        * include/bits/shared_ptr_base.h (__shared_ptr): Add nullptr_t support.
        (__shared_count): Add nullptr_t support and make constructors explicit.
        * testsuite/20_util/shared_ptr/cons/43820.cc: Adjust.
        * testsuite/20_util/shared_ptr/cons/nullptr.cc: New.
        * testsuite/20_util/unique_ptr/cons/nullptr.cc: New.
        * testsuite/20_util/unique_ptr/assign/nullptr.cc: New.
        * testsuite/20_util/unique_ptr/assign/assign_neg.cc: Adjust.
        * testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust.
        * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.

Attachment: nullptr.txt
Description: Text document


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