You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func
Eric Fiselier b05f0599c0 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.


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@239708 91177308-0d34-0410-b5e6-96231b3b80d8
11 years ago
..
func.wrap.func.alg [libcxx] Consolidate new/delete replacement in tests and disable it when using sanitizers. 11 years ago
func.wrap.func.cap Move test into test/std subdirectory. 11 years ago
func.wrap.func.con Fix std::function allocator constructors in C++03. 11 years ago
func.wrap.func.inv [libcxx] Fix PR 22468 - std::function<void()> does not accept non-void-returning functions 11 years ago
func.wrap.func.mod [libcxx] Consolidate new/delete replacement in tests and disable it when using sanitizers. 11 years ago
func.wrap.func.nullptr Move test into test/std subdirectory. 11 years ago
func.wrap.func.targ Move test into test/std subdirectory. 11 years ago
function_types.h Fix std::function allocator constructors in C++03. 11 years ago
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. 11 years ago