[Bug libstdc++/99868] New: std::string is not copied correctly

2021-04-01 Thread apyszczuk at gmail dot com via Gcc-bugs
++ 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 #

[Bug c++/85363] New: Throwing exception from member constructor (brace initializer vs initializer list)

2018-04-11 Thread apyszczuk at gmail dot com
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

[Bug c++/66698] New: Multiple inheritance from instantiations of template class and what about access to member functions

2015-06-29 Thread apyszczuk at gmail dot com
: 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