Logo
Explore Help
Register Sign In
caio/clang-p2996
1
0
Fork 0
You've already forked clang-p2996
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
2d15f15f285fd0dee552ba7f91bb4daf244cbdf4
clang-p2996/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func
History
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
Powered by Gitea Version: 1.25.1 Page: 1030ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API