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 //===----------------------------------------------------------------------===//
12 // Check that std::map and its iterators can be instantiated with an incomplete
18 typedef std::map<A, A> Map;
22 Map::const_iterator cit;
25 inline bool operator==(A const& L, A const& R) { return &L == &R; }
26 inline bool operator<(A const& L, A const& R) { return L.data < R.data; }