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 // template <class... Args> void emplace(Args&&... args);
17 #include "../../../Emplaceable.h"
21 #ifndef _LIBCPP_HAS_NO_RVALUE_REFERENCES
22 std::stack<Emplaceable> q;
26 assert(q.size() == 3);
27 assert(q.top() == Emplaceable(3, 4.5));
28 #endif // _LIBCPP_HAS_NO_RVALUE_REFERENCES