I get C2768 'illegal use of explicit template arguments' when including (not even instantiating a template of the function) this code:
template<typename Container, typename It, typename Compare, enum class sort>
void _SortCollection(Container& container, It start, It end) {
//... default
}
template<typename Container, typename It, typename Compare>
void _SortCollection<Container, It, Compare, sort::bubble>
(Container& container, It start, It end) {
//bubble sort
}
Is there something i'm doing wrong here?