От: | brankovic | ||
Дата: | 26.05.06 12:40 | ||
Оценка: |
template <class T>
struct templ;
template <class R>
struct templ <R ()>
{
//...
};
template <class R>
struct templ <R (int)>
{
//...
};
...
//templ <int> t0; //error!
templ <int ()> t1; //Ok
templ <int (int)> t2; //Ok