[Bug c++/95036] New: ICE with variadic type/nttp template templates

2020-05-10 Thread vince.rev at gmail dot com
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vince.rev at gmail dot com Target Milestone: --- Created attachment 48497 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48497=edit ICE with variadic type/nttp template templates The following code in std=c++17

[Bug c++/95004] New: Static array of base classes member pointers

2020-05-08 Thread vince.rev at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: vince.rev at gmail dot com Target Milestone: --- Created attachment 48480 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48480=edit Example of bug with base member pointers Consider the following code in std=c+

[Bug libstdc++/84690] New: std::is_invocable not working for ambiguous calls

2018-03-03 Thread vince.rev at gmail dot com
: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: vince.rev at gmail dot com Target Milestone: --- Consider the following code: == // Preamble #include #include // A base class template struct base {void operator

[Bug c++/84489] New: Non-type template parameter dependency

2018-02-20 Thread vince.rev at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: vince.rev at gmail dot com Target Milestone: --- Created attachment 43475 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43475=edit Example code of the bug Consider the following code in C+

[Bug c++/80739] New: Accessing value of X through a Y glvalue in a constant expression

2017-05-14 Thread vince.rev at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vince.rev at gmail dot com Target Milestone: --- Created attachment 41352 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41352=edit Example of the bug Consider the follow

[Bug c++/78701] [6/7 Regression] ICE: unexpected expression N of kind template_parm_index

2016-12-06 Thread vince.rev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78701 --- Comment #3 from Vincent --- I am compiling with: g++ test_bug.cpp -o test_bug g++ -std=c++11 test_bug.cpp -o test_bug g++ -std=c++14 test_bug.cpp -o test_bug and it fails in the 3 cases.

[Bug c++/78701] Template deduction, dependent template and conversion to bool failure

2016-12-06 Thread vince.rev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78701 --- Comment #1 from Vincent --- Addition: == #include template T f(T x) {return T();} int main(int argc, char* argv[]) {return f(42);}

[Bug c++/78701] New: Template deduction, dependent template and conversion to bool failure

2016-12-06 Thread vince.rev at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vince.rev at gmail dot com Target Milestone: --- The following code fails to compile on g++ 6.1, 6.2, and 7 (and I guess on g++ 6.0

[Bug c++/70505] New: Constexpr failure when template type specified

2016-04-01 Thread vince.rev at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: vince.rev at gmail dot com Target Milestone: --- This bug seems to affect g++ 4.9, 5.1, 5.2, 5.3 and 6.0 (tested on gcc.godbolt.org), while the same code compiles under g++ 4.7.3, 4.8.1 and 4.8.2 as well as under clang

[Bug c++/60130] New: Sorry, unimplemented: mangling argument_pack_select

2014-02-09 Thread vince.rev at gmail dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vince.rev at gmail dot com Hello. Consider the following code in C++11: -- #include tuple template class S, class F, class... T S f1(F f, T... x) { return std::get0

[Bug c++/57846] CRTP, templates, metaprogramming, forwarding and static member

2013-07-16 Thread vince.rev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57846 --- Comment #1 from Vincent vince.rev at gmail dot com --- Apparently, this is also a bug in the last version (4.9): http://stackoverflow.com/questions/17515079/crtp-templates-metaprogramming-forwarding-and-static-member-a-bug-in-g-4-8

[Bug c++/57846] New: CRTP, templates, metaprogramming, forwarding and static member

2013-07-07 Thread vince.rev at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: vince.rev at gmail dot com This code (I could not find a simpler example) does not compile under g++ for some obscure reasons (tested with 4.8.1 and 4.7.2) (see the related discussion

[Bug c++/55931] New: Constexpr member function inside a static member is not working

2013-01-09 Thread vince.rev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55931 Bug #: 55931 Summary: Constexpr member function inside a static member is not working Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED

[Bug c++/55724] New: Default type of a template value is not working

2012-12-17 Thread vince.rev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55724 Bug #: 55724 Summary: Default type of a template value is not working Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: blocker

[Bug c++/55223] New: [C++11] Default lambda expression of a templated class member

2012-11-06 Thread vince.rev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55223 Bug #: 55223 Summary: [C++11] Default lambda expression of a templated class member Classification: Unclassified Product: gcc Version: 4.7.2 Status:

[Bug c++/54323] New: Friend function declaration not correctly identified with CRTP + enable_if

2012-08-19 Thread vince.rev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54323 Bug #: 54323 Summary: Friend function declaration not correctly identified with CRTP + enable_if Classification: Unclassified Product: gcc Version: 4.7.1 Status: