//===----------------------------------------------------------------------===// // // 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 weak_ptr; // // not less than comparable #include #include int main() { const std::shared_ptr p1(new int); const std::shared_ptr p2(new int); const std::weak_ptr w1(p1); const std::weak_ptr w2(p2); bool b = w1 < w2; }