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 //===----------------------------------------------------------------------===//
11 // REQUIRES-ANY: c++98, c++03, c++11, c++14
13 // class function<R(ArgTypes...)>
15 // template<class A> function(allocator_arg_t, const A&);
17 // This signature was removed in C++17
22 #include "min_allocator.h"
27 std::function<int(int)> f(std::allocator_arg, bare_allocator<int>());