Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: lin90162 at gmail dot com
Code:
// hoge.cpp
template< class T, T... V >
struct L{};
template< class T, class U = L >
struct X;
template< char... V >
struct X< cha
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: lin90162 at gmail dot com
When vector is empty, calling vector::data() occurs undefined behavior by
dereferencing NULL.
The implementation of vector::data() and vector::front() in