В плюсах можно было сделать так:
template <typename T, unsigned U>
struct SomeStruct
{
typedef T SomeType;
static const unsigned SomeConst = U;
};
В плюсах можно было сделать так:
template <typename T, unsigned U>
struct SomeStruct
{
typedef T SomeType;
static const unsigned SomeConst = U;
};