[cfe-commits] [libcxx] r171980 - in /libcxx/trunk/test/support: nothing_to_do.pass.cpp test_iterators.h

Marshall Clow mclow at qualcomm.com
Wed Jan 9 09:20:03 PST 2013


Author: marshall
Date: Wed Jan  9 11:20:02 2013
New Revision: 171980

URL: http://llvm.org/viewvc/llvm-project?rev=171980&view=rev
Log:
Made test output iterators have value_type of 'void'; matches ones in library

Added:
    libcxx/trunk/test/support/nothing_to_do.pass.cpp
      - copied unchanged from r171973, libcxx/trunk/test/nothing_to_do.pass.cpp
Modified:
    libcxx/trunk/test/support/test_iterators.h

Modified: libcxx/trunk/test/support/test_iterators.h
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/support/test_iterators.h?rev=171980&r1=171979&r2=171980&view=diff
==============================================================================
--- libcxx/trunk/test/support/test_iterators.h (original)
+++ libcxx/trunk/test/support/test_iterators.h Wed Jan  9 11:20:02 2013
@@ -11,7 +11,7 @@
     template <class U> friend class output_iterator;
 public:
     typedef          std::output_iterator_tag                  iterator_category;
-    typedef typename std::iterator_traits<It>::value_type      value_type;
+    typedef void                                               value_type;
     typedef typename std::iterator_traits<It>::difference_type difference_type;
     typedef It                                                 pointer;
     typedef typename std::iterator_traits<It>::reference       reference;





More information about the cfe-commits mailing list