
6 Aug
2008
6 Aug
'08
5:42 p.m.
AMDG joel falcou wrote:
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.
Operators cannot be overloaded with the ellipsis.
IN the same vein, why using a static reference instead of constructing the object in place in the sizeof operator ?
Using a reference avoids requiring T to have a default constructor. In Christ, Steven Watanabe