|
Relationships Between Two Types
Эти шаблоны определяют, существует ли связь между двумя типами:
Синопсис:
template <class Base, class Derived>
struct is_base_of;
template <class Base, class Derived>
struct is_virtual_base_of;
template <class From, class To>
struct is_convertible;
template <class T, class U>
struct is_same;
Статья Relationships Between Two Types раздела Chapter 1. Boost.TypeTraits Type Traits that Describe the Properties of a Type может быть полезна для разработчиков на c++ и boost.
:: Главная :: Type Traits that Describe the Properties of a Type ::
|
|