Код: Выделить всё
template struct Node
{
// general method split
void split()
{
// ... actual code here (not empty)
}
};
Код: Выделить всё
template
struct Node
{
// specialise the split method
void split() {}
} ;
Подробнее здесь: https://stackoverflow.com/questions/933 ... do-i-do-it
Мобильная версия