//===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------------------------------------===// // dynarray.data // template // struct uses_allocator, Alloc> : true_type { }; #include <__config> #if _LIBCPP_STD_VER > 11 #include #include "test_allocator.h" using std::experimental::dynarray; int main() { static_assert ( std::uses_allocator, test_allocator>::value, "" ); } #else int main() {} #endif