CMake/Tests/CompileFeatures/cxx_template_template_param...

19 lines
162 B
C++
Raw Normal View History

template<template <typename> class T, typename U>
void someFunc(T<U>)
{
}
template<typename T>
struct A
{
};
void otherFunc()
{
A<int> a;
someFunc(a);
}