A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
Check a workaround:
T* begin( )
{
return size( ) ? &m_data[0] : nullptr;
}
Or use an approach that is probably more recommended:
using iterator = typename std::vector<T>::iterator;
iterator begin( )
{
return m_data.begin( );
}
void insert( iterator at, const T& value = T( ) )
{
m_data.insert( at, value );
}