//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // template , // class Allocator = allocator>> // class map // http://llvm.org/bugs/show_bug.cgi?id=16538 #include struct Key { template Key(const T&) {} bool operator< (const Key&) const { return false; } }; int main() { std::map::iterator it = std::map().find(Key(0)); }