[Bug c++/105553] [11/12/13 Regression] [DR1640] Deduction when attempting to create an array with an element type that is an abstract class

2022-05-16 Thread glenjofe at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105553 --- Comment #3 from Glen Joseph Fernandes --- I would have expected this to only take effect in C++20 standards mode, leaving C++03 through C++17 modes with no change in behavior. Given the following intention in your commit message: > This ch

[Bug c++/105553] New: Deduction when attempting to create an array with an element type that is an abstract class

2022-05-10 Thread glenjofe at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105553 Bug ID: 105553 Summary: Deduction when attempting to create an array with an element type that is an abstract class Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug libstdc++/96416] to_address() is broken by static_assert in pointer_traits

2021-03-28 Thread glenjofe at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96416 --- Comment #16 from Glen Joseph Fernandes --- > should a wording defect be raised against std::to_address(Ptr), to state that > pointer_traits being well-formed is actually a prerequisite? That's not an omission in the specification of to_addr

[Bug libstdc++/96416] address_of() is broken by static_assert in pointer_traits

2021-03-26 Thread glenjofe at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96416 --- Comment #11 from Glen Joseph Fernandes --- > if it can never be used. You're misunderstanding. to_address(p) requires that pointer_traits is valid. It just doesn't need to have a to_address member function. Example 1. You have a pointer-l

[Bug libstdc++/96416] address_of() is broken by static_assert in pointer_traits

2020-11-11 Thread glenjofe at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96416 Glen Joseph Fernandes changed: What|Removed |Added CC||glenjofe at gmail dot com --- Co