IIRC:
template<class T> template <class U>
void Foo<T>::bar() { ...
More Related Contents:
- Optimization code for a debug function (c++11 with templates) [closed]
- Why can’t the template argument be deduced when it is used as template parameter to another template?
- Can someone explain this template code that gives me the size of an array? [duplicate]
- Two phase lookup – explanation needed
- How to detect whether there is a specific member variable in class?
- Why not infer template parameter from constructor?
- Explicit template instantiation – when is it used?
- Determine if a type is an STL container at compile time
- C++ Static member initialization (template fun inside)
- Template Constraints C++
- “not declared in this scope” error with templates and inheritance [duplicate]
- Uses of a C++ Arithmetic Promotion Header
- check if member exists using enable_if
- Why can’t templates be within extern “C” blocks?
- Get index of a tuple element’s type?
- Best introduction to C++ template metaprogramming? [closed]
- C++ type registration at compile time trick
- C++ overloaded function as template argument
- When instantiating a template, should members of its incomplete argument types be visible?
- Template default arguments
- C++ template, linking error [duplicate]
- Default template argument when using std::enable_if as templ. param.: why OK with two template functions that differ only in the enable_if parameter?
- How do we declare a friend function with a class template into .h file and define them into a .cpp file (not all in one header file)?
- compile time loops
- Class template for numeric types
- C++ class with template member variable
- Making a C++ class a Monitor (in the concurrent sense)
- Why the initializer of std::function has to be CopyConstructible?
- Interfacing C++11 array with Cython
- if / else at compile time in C++?