//===----------------------------------------------------------------------===// // // 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 // // template // class scoped_allocator_adaptor // typedef see below propagate_on_container_move_assignment; #include #include #include "allocators.h" int main() { static_assert((std::is_same< std::scoped_allocator_adaptor>::propagate_on_container_move_assignment, std::false_type>::value), ""); static_assert((std::is_same< std::scoped_allocator_adaptor, A2>::propagate_on_container_move_assignment, std::true_type>::value), ""); static_assert((std::is_same< std::scoped_allocator_adaptor, A2, A3>::propagate_on_container_move_assignment, std::true_type>::value), ""); }