: 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
++
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+
: 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
++
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+
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
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.
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);}
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
++
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
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
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
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
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
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
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:
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:
16 matches
Mail list logo