++
Assignee: unassigned at gcc dot gnu.org
Reporter: apyszczuk at gmail dot com
Target Milestone: ---
Created attachment 50495
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50495&action=edit
save-temps
This code does not correctly copy the string *str*.
#include
#
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: apyszczuk at gmail dot com
Target Milestone: ---
https://stackoverflow.com/questions/48909833/throwing-exception-from-member-constructor-brace-initializer-vs
: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: apyszczuk at gmail dot com
Target Milestone: ---
Let's take a look at the code:
template
class S {
public:
void add (C c) { ++cnt; }
s