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
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
++
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