teak-llvm/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func
Eric Fiselier b11df184ad Fix std::function allocator constructors in C++03.
The C++03 version of function tried to default construct the allocator
in the uses allocator constructors when no allocation was performed. These
constructors would fail to compile when used with allocators that had no
default constructor.

llvm-svn: 239708
2015-06-14 23:30:09 +00:00
..
func.wrap.func.alg
func.wrap.func.cap
func.wrap.func.con Fix std::function allocator constructors in C++03. 2015-06-14 23:30:09 +00:00
func.wrap.func.inv [libcxx] Fix PR 22468 - std::function<void()> does not accept non-void-returning functions 2015-02-10 16:48:45 +00:00
func.wrap.func.mod
func.wrap.func.nullptr
func.wrap.func.targ
function_types.h Fix std::function allocator constructors in C++03. 2015-06-14 23:30:09 +00:00
types.pass.cpp In early C++11 standard drafts, std::function derived from std::unary_function or std::binary_function if there was only one (or two) parameters. Before C++11 shipped, this restiction was lifted, but libc++ still does this (which is fine). However, the tests still check for this outdated requiremnt. Change then to check for the nested typedefs instead (which are still required by the standard). No change to the library. 2015-01-08 06:36:41 +00:00