mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Extend the existing feature infrastructure as needed to support both C++11 and C++98 features.
19 lines
162 B
C++
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);
|
|
}
|