fatal error C1001: An internal error has occurred in the compiler.
compiler file 'msc1.cpp', line 1468)
To work around this problem, try simplifying or changing the program near the locations listed above.
Ну нифигаж себе. Только я подходящий шаблон придумал, и теперь вот так вот