[Bug libstdc++/72745] New: Please static assert in std::get to check out of range

2016-07-28 Thread markus.ilmola at pp dot inet.fi
Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: markus.ilmola at pp dot inet.fi Target Milestone: --- Currently using an out of range tuple index with std::get will result in long and confusing error message like: "error: invalid use of incomplete

[Bug c++/61380] [4.8/4.9/4.10 Regression] internal compiler error: Segmentation fault

2014-06-02 Thread markus.ilmola at pp dot inet.fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61380 --- Comment #2 from Markus Ilmola --- I am not a c++ expert, but I think that the code should NOT compile. The point of the code was to create a function template that only accepts non-nested arrays (arrays with order of 1). So F(c) should not

[Bug c++/61380] New: internal compiler error: Segmentation fault

2014-06-01 Thread markus.ilmola at pp dot inet.fi
++ Assignee: unassigned at gcc dot gnu.org Reporter: markus.ilmola at pp dot inet.fi Internal compiler error: Segmentation fault when compiling this code (-std=c++11): #include template class order_of { public: static const std::size_t value = 0; }; template class