//===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------------------------------------===// // // // UNSUPPORTED: c++98, c++03, c++11, c++14 // template // struct __is_allocator; // Is either true_type or false_type depending on if A is an allocator. #include #include #include "test_macros.h" #include "min_allocator.h" #include "test_allocator.h" template void test_allocators() { static_assert( std::__is_allocator>::value, "" ); static_assert( std::__is_allocator>::value, "" ); static_assert( std::__is_allocator>::value, "" ); } int main() { // test_allocators(); test_allocators(); test_allocators(); test_allocators(); }