Chapter Contents

Previous

Next
751

751



ERROR: Template formal type `type-name' for specialized argument `argument-name' depends on partial specialization parameters.


Explanation


Explanation

The type of the class template formal (of the original template) corresponding to a nontype argument of a class template partial specialization must be determined at the time the partial specialization is declared unless the argument is the name of a template parameter. Otherwise the formal type cannot depend on specialization parameters. See the C++ standard, Section 14.5.4 , paragraph 9.


Chapter Contents

Previous

Next

Top of Page

Copyright © 2004 by SAS Institute Inc., Cary, NC, USA. All rights reserved.