2014-04-06 13:40:11 +04:00
|
|
|
|
2016-05-16 17:34:04 +03:00
|
|
|
template <template <typename> class T, typename U>
|
2014-04-06 13:40:11 +04:00
|
|
|
void someFunc(T<U>)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2016-05-16 17:34:04 +03:00
|
|
|
template <typename T>
|
2014-04-06 13:40:11 +04:00
|
|
|
struct A
|
|
|
|
{
|
|
|
|
};
|
|
|
|
|
|
|
|
void otherFunc()
|
|
|
|
{
|
|
|
|
A<int> a;
|
|
|
|
someFunc(a);
|
|
|
|
}
|