In C++ libstdc++ source code for array, it uses typedef to define an array type,
template<typename _Tp, std::size_t _Nm>
struct __array_traits
{
typedef _Tp _Type[_Nm];
...
};
How you use the newer 'using' declaration to relpace the typedef?
Aucun commentaire:
Enregistrer un commentaire