Project

General

Profile

« Previous | Next » 

Revision 5e1635e8

Added by skyjake almost 12 years ago

Fixed: Use of local type in a template

We are currently using C++03, and the standard says:

A local type, a type with no linkage, an unnamed type or a type
compounded from any of these types shall not be used as a
template-argument for a template type-parameter.

See: http://stackoverflow.com/questions/5751977/local-type-as-template-arguments-in-c

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences