1 //===----------------------------------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
14 // reference operator*() const;
16 // Be sure to respect LWG 198:
17 // http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#198
18 // LWG 198 was superseded by LWG 2360
19 // http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#2360
31 friend bool operator==(const A& x, const A& y)
32 {return x.data_ == y.data_;}
37 test(It i, typename std::iterator_traits<It>::value_type x)
39 std::reverse_iterator<It> r(i);