//===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------------------------------------===// // // class promise // template // struct uses_allocator, Alloc> // : true_type { }; #include #include "../test_allocator.h" int main() { static_assert((std::uses_allocator, test_allocator >::value), ""); static_assert((std::uses_allocator, test_allocator >::value), ""); static_assert((std::uses_allocator, test_allocator >::value), ""); }