C++11 Extern Template
Only the declaration is required to be visible when explicitly instantiating a function template, a variable template, (since c++14) a member function or static data member of a class template, or a member function template. Clang's c++11 mode can be used with libc++ or with gcc's libstdc++. The inline specifier cannot be used with a function or variable (since c++17) declaration at block scope (inside another function). Explicit instantiation has no effect if an explicit specialization appeared before for the same set of template arguments. If an inline function or variable (since c++17) with external linkage is defined differently in different translation units, the behavior is undefined.
C++11 Extern Template - Only the declaration is required to be visible when explicitly instantiating a function template, a variable template, (since c++14) a member function or static data member of a class template, or a member function template. Clang's c++11 mode can be used with libc++ or with gcc's libstdc++. The change to the standard lacks a corresponding change for. The inline specifier cannot be used with a function or variable (since c++17) declaration at block scope (inside another function). If an inline function or variable (since c++17) with external linkage is defined differently in different translation units, the behavior is undefined. For information about c++11 support in a specific version of gcc, please see: Explicit instantiation has no effect if an explicit specialization appeared before for the same set of template arguments.
C++11 Extern Template Gallery
The change to the standard lacks a corresponding change for. For information about c++11 support in a specific version of gcc, please see: If an inline function or variable (since c++17) with external linkage is defined differently in different translation units, the behavior is undefined. Clang's c++11 mode can be used with libc++ or with gcc's libstdc++. Only the declaration is required to be visible when explicitly instantiating a function template, a variable template, (since c++14) a member function or static data member of a class template, or a member function template. The inline specifier cannot be used with a function or variable (since c++17) declaration at block scope (inside another function). Explicit instantiation has no effect if an explicit specialization appeared before for the same set of template arguments.
Explicit Instantiation Has No Effect If An Explicit Specialization Appeared Before For The Same Set Of Template Arguments.
The change to the standard lacks a corresponding change for. The inline specifier cannot be used with a function or variable (since c++17) declaration at block scope (inside another function). Clang's c++11 mode can be used with libc++ or with gcc's libstdc++. For information about c++11 support in a specific version of gcc, please see: