, , - One Definition (ODR) , TU . , int, , . . - , . / .
inline, , , , ( ), . :
:
template<class TYPE>
void some_function(TYPE& val) {
}
template<>
void some_function<int>(int& val);
(.cpp):
template<>
void some_function<int>(int& val) {
}
Roger Pate