Конфигурации шаблонных классов
struct config {
enum { size = 10 } ;
typedef char type;
};
template< typename Сonfig>
struct vector {
Сonfig::type data[ Сonfig::size ];
};
vector<config> v;Last updated
struct config {
enum { size = 10 } ;
typedef char type;
};
template< typename Сonfig>
struct vector {
Сonfig::type data[ Сonfig::size ];
};
vector<config> v;Last updated