[cfe-commits] [libcxx] r134815 - /libcxx/trunk/include/vector

Howard Hinnant hhinnant at apple.com
Sat Jul 9 08:50:42 PDT 2011


Author: hhinnant
Date: Sat Jul  9 10:50:42 2011
New Revision: 134815

URL: http://llvm.org/viewvc/llvm-project?rev=134815&view=rev
Log:
Make vector<bool>::reference and const_reference public

Modified:
    libcxx/trunk/include/vector

Modified: libcxx/trunk/include/vector
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/vector?rev=134815&r1=134814&r2=134815&view=diff
==============================================================================
--- libcxx/trunk/include/vector (original)
+++ libcxx/trunk/include/vector Sat Jul  9 10:50:42 2011
@@ -1801,10 +1801,10 @@
     __storage_pointer                                      __begin_;
     size_type                                              __size_;
     __compressed_pair<size_type, __storage_allocator> __cap_alloc_;
-
+public:
     typedef __bit_reference<vector>                  reference;
     typedef __bit_const_reference<vector>            const_reference;
-
+private:
     _LIBCPP_INLINE_VISIBILITY
     size_type& __cap() _NOEXCEPT
         {return __cap_alloc_.first();}





More information about the cfe-commits mailing list