Код: Выделить всё
template
bool validate(const T& minimum, const T& maximum, const T& testValue)
{
return testValue >= minimum && testValue
Подробнее здесь: [url]https://stackoverflow.com/questions/32010637/why-is-my-c-function-template-specialization-not-being-called[/url]
Мобильная версия