|
|
От: | Seriously Serious | |
| Дата: | 22.06.05 21:33 | ||
| Оценка: | |||
struct TraitA {};
struct TraitB {};
template <class type, class trait>
struct Trait;
//это вместо
template <class type> //template <class type>
struct Trait<type, TraitA> //struct TraitA
{ //{
typedef ... result; // typedef ... result;
}; //};