6 Aug
2008
6 Aug
'08
11:04 a.m.
Hmm is there any article or paper explaining the trick and why it's different of the classic idiom using the ellipsis argument to discrimiante the correct call to the inner function.
Comments in http://svn.boost.org/svn/boost/trunk/boost/detail/is_incrementable.hpp could answer some of your questions.
IN the same vein, why using a static reference instead of constructing the object in place in the sizeof operator ?
Because we don't know how to construct a variable of type T. Should we use default constructor T()? But what if it does not have it? Roman Perepelitsa.