CMake/Tests/CompileFeatures/cxx_template_template_parameters.cpp
Stephen Kelly a36b957fc4 Features: Add cxx_template_template_parameters.
Extend the existing feature infrastructure as needed to support
both C++11 and C++98 features.
2014-04-16 15:16:23 +02:00

19 lines
162 B
C++

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