https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69293
--- Comment #9 from Jonathan Wakely ---
Oops I did it again.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69293
--- Comment #8 from Jonathan Wakely ---
Author: redi
Date: Sat Aug 6 12:21:42 2016
New Revision: 239205
URL: https://gcc.gnu.org/viewcvs?rev=239205&root=gcc&view=rev
Log:
Fix construction of std::function from null pointer-to-member
PR
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69293
--- Comment #7 from Jonathan Wakely ---
(In reply to Jonathan Wakely from comment #6)
> Author: redi
> Date: Mon Jan 18 11:43:37 2016
> New Revision: 232504
>
> URL: https://gcc.gnu.org/viewcvs?rev=232504&root=gcc&view=rev
> Log:
> Fix construct
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69293
--- Comment #6 from Jonathan Wakely ---
Author: redi
Date: Mon Jan 18 11:43:37 2016
New Revision: 232504
URL: https://gcc.gnu.org/viewcvs?rev=232504&root=gcc&view=rev
Log:
Fix construction of std::function from null pointer-to-member
PR
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69293
--- Comment #5 from ForEveR ---
Nice, thanks for fix and for defect report.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69293
Jonathan Wakely changed:
What|Removed |Added
Keywords||accepts-invalid
Status|ASS
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69293
--- Comment #3 from Jonathan Wakely ---
Author: redi
Date: Fri Jan 15 23:12:13 2016
New Revision: 232457
URL: https://gcc.gnu.org/viewcvs?rev=232457&root=gcc&view=rev
Log:
Use static assertion for uses-allocator construction
PR libstdc+
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69293
--- Comment #2 from Jonathan Wakely ---
(In reply to ForEveR from comment #0)
> In code, is_constructible::value is false,
> since use_arg receives Alloc by reference, but there is no test for this
> case in libstdc++.
There doesn't need to be a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69293
--- Comment #1 from Jonathan Wakely ---
Actually I think this is a defect in the standard, it is inconsistent to check
is_constructible but then pass inner_allocator_type&.
Consider this type:
struct use_arg {
using allocator_type = std::allo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69293
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
10 matches
Mail list logo