The following cannot be used as a template parameter:
local class
unnamed class
any class compounded from local or unnamed classes.
References:
More Exceptional C++: 40 New Engineering Puzzles, Programming Problems, and Solutions by Herb Sutter. Addison-Wesley, 2002., p. 208.
[C++98] section 14.3.1/2
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment