: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: marcpawl at gmail dot com
Target Milestone: ---
-Werror=nonnull returns error when using nullptr to get type of member
function.
Even though we are using -Werror=nonnull, there should be no diagnostic
since the function
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95772
Marc Pawlowsky changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95772
--- Comment #2 from Marc Pawlowsky ---
I understand that it is deleted, but if somebody says it should be defaulted
when it is defaulted that is most likely an error, and it would be nice if a
warning were generated.
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: marcpawl at gmail dot com
Target Milestone: ---
https://godbolt.org/z/eXckPe
#include
class Const {
public:
int const i_;
Const(int i) : i_(i) {}
Const& operator=(Const&
++
Assignee: unassigned at gcc dot gnu.org
Reporter: marcpawl at gmail dot com
Target Milestone: ---
https://godbolt.org/z/Kh3xWR
Add...
#include
#include
#include
void foo()
{
std::ostream& message_stream = std::cout;
auto data = std::make_tuple(3,4.5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92735
--- Comment #4 from Marc Pawlowsky ---
(In reply to Jonathan Wakely from comment #2)
> For the case reported here, Clang and EDG do reject it, but I'm not yet
> convinced GCC is wrong to accept it.
>
> The implicit instantiation of is_Foo causes
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: marcpawl at gmail dot com
Target Milestone: ---
Marc Pawlowsky
Thu, Nov 28, 8:25 PM (23 hours ago)
to gcc-bugzilla-account-request
https://godbolt.org/z