E2423 Explicit specialization or instantiation of non-existing template 'template' (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index

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