With some improvements you also can provide compile-time error
about instantiation of non-specialized function (i.e. which has T
as parameter), but I'm not sure what's good way to do it in C++.
- A good advertisement for 'static if' Craig Dillabaugh
- Re: A good advertisement for 'static if' FreeSlave
- Re: A good advertisement for 'static if' FreeSlave
- Re: A good advertisement for 'static if' Craig Dillabaugh