A template template parameter must always declare a new class name. For example:
template<template<class T> int U> class foo;// error: "U" is not a class tag name template<template<class T> class V> class bar;// OK: "V" is a class tag name
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|