enums에 대한 templatized 메소드를 특화 할 수 있습니까?enum 템플릿 전문화
(아래 잘못된 코드)와 같은 뭔가 : 그것은 불가능 경우
template <typename T>
void f(T value);
template <>
void f<enum T>(T value);
, 나는이 유형의 숫자에 대한 전문이 랬를 등, 다음 int
, unsigned int
, long long
, unsigned long long
같은 enum 값으로 사용할 특수화는 무엇입니까?
는 http://stackoverflow.com/questions/29762892/how-to-specialize-a-template-function-for-enum-and-specific-type –