[Bug c++/84795] New: Explicit specialization of constexpr static data member incorrectly rejected in C++17

2018-03-09 Thread inadgob at yahoo dot com
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: inadgob at yahoo dot com Target Milestone: --- The following code is incorrectly rejected in C++17 mode: template struct A { static constexpr int v = 7

[Bug libstdc++/77334] [5/6/7 Regression] Cannot move assign std::map with non-copyable and non-movable mapped_type

2016-08-23 Thread inadgob at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77334 --- Comment #5 from bogdan --- From now on, "fast" shall have a new degree of comparison beyond the superlative, spelled "jw-fast" (alternative spelling when appearing in text on gcc.gnu.org: "redi-fast"). Cheers!

[Bug libstdc++/77334] New: Cannot move assign std::map with non-copyable and non-movable mapped_type

2016-08-22 Thread inadgob at yahoo dot com
: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: inadgob at yahoo dot com Target Milestone: --- Consider the following code: #include struct A { A(A&&) = delete; }; int main() { std::map<int, A>

[Bug c++/71534] Initializing a static constexpr data member of a base class by using a static constexpr data member of a derived class should be an error

2016-07-23 Thread inadgob at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71534 bogdan changed: What|Removed |Added CC||inadgob at yahoo dot com --- Comment #3 from

[Bug c++/71879] Error in unevaluated context breaks SFINAE

2016-07-18 Thread inadgob at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71879 bogdan changed: What|Removed |Added CC||inadgob at yahoo dot com --- Comment #2 from

[Bug c++/70167] New: Some const array prvalues are incorrectly treated as lvalues

2016-03-10 Thread inadgob at yahoo dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: inadgob at yahoo dot com Target Milestone: --- The following code is incorrectly rejected: (compiled with -Wall -Wextra -std=c++1z -pedantic) #include template void f(T(&