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 // list& operator=(initializer_list<value_type> il);
16 #include "min_allocator.h"
20 #ifndef _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS
24 assert(d.size() == 4);
25 std::list<int>::iterator i = d.begin();
31 #if __cplusplus >= 201103L
33 std::list<int, min_allocator<int>> d;
35 assert(d.size() == 4);
36 std::list<int, min_allocator<int>>::iterator i = d.begin();
43 #endif // _LIBCPP_HAS_NO_GENERALIZED_INITIALIZERS