Код: Выделить всё
template
struct __helper
{
__helper(const char (&_sName)[Length])
{
memcpy(m_sName, _sName, Length);
}
char m_sName[Length];
};
template
static void foo(__helper... _namespaces)
{
}
Подробнее здесь: https://stackoverflow.com/questions/645 ... dic-arrays
Мобильная версия