[Bug c++/90784] New: A loop inside a constexpr function in a constexpr context is not evaluated at compile time

2019-06-07 Thread wandersys at aim dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: wandersys at aim dot com Target Milestone: --- Created attachment 46461 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46461&action=edit constexpr

[Bug c++/87063] New: Const subobject with const assignment operator, but operator anyway deleted

2018-08-22 Thread wandersys at aim dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: wandersys at aim dot com Target Milestone: --- Hello! Here is an example: class bar { public: bar() {} bar const & operator=(bar const &) const {

[Bug c++/69898] New: Possibility for function with cv-qualifier-seq be adjusted to function pointer

2016-02-21 Thread wandersys at aim dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: wandersys at aim dot com Target Milestone: --- Hello there! Simple code: template struct test { typedef void(* type)(T); }; typedef void foo_t() const; typedef test

[Bug c++/69898] Possibility for function with cv-qualifier-seq be adjusted to function pointer

2016-02-22 Thread wandersys at aim dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69898 --- Comment #2 from wander --- (In reply to Daniel Krügler from comment #1) > I would argue that the code should be ill-formed, because the attempt to > form a pointer to a function with cv-qualifier-seq is invalid, see > > http://www.open-std.o

[Bug c++/69898] Possibility for function with cv-qualifier-seq be adjusted to function pointer

2016-02-24 Thread wandersys at aim dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69898 --- Comment #3 from wander --- Created attachment 37786 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37786&action=edit A more detailed testcase