[Bug c++/88368] New: Improper ``use of deleted function''

2018-12-05 Thread serge.guel...@telecom-bretagne.eu
mponent: c++ Assignee: unassigned at gcc dot gnu.org Reporter: serge.guel...@telecom-bretagne.eu Target Milestone: --- The following code fails to compile: https://godbolt.org/z/briQXa Adding a `noexcept` specifier to the default constructor fixes the issue, but it shouldn't be

[Bug c++/82311] New: prototype don't match

2017-09-23 Thread serge.guel...@telecom-bretagne.eu
ignee: unassigned at gcc dot gnu.org Reporter: serge.guel...@telecom-bretagne.eu Target Milestone: --- The following code ``` template struct my_type { long fast(long i) const; long fast(long i) ; auto operator[](long i) const -> decltype(this->fast(i)); template

[Bug c++/81188] New: decltype(this->member()) raises invalid prototype

2017-06-23 Thread serge.guel...@telecom-bretagne.eu
ent: c++ Assignee: unassigned at gcc dot gnu.org Reporter: serge.guel...@telecom-bretagne.eu Target Milestone: --- Compiling the following test case ``` template struct C { F fast(long i) const; auto operator[](long i) const -> decltype(this->fast(i)); }; templat