글

라벨이 [English/Language/CPP]인 게시물 표시

Implementing a function that accepts only the user defined types in using the template specialization of C++.

A foo() in below source code will be accepted only the two types like myString and String2, but other types will occur an errors on compile time.