RAD Studio
ContentsIndex
PreviousUpNext
E2423: Explicit specialization or instantiation of non-existing template 'template'

Attempting to explicit specialize or instantiate a template which does not exist is clearly illegal. For example:

template<class T>
class foo;
template class bar<char>;// error: what is "bar"??
template<>
class bar<int> { };// error: there's that "bar" again…
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!