Class Template is_base_and_derived

Description
Headers
Synopsis

Description

The class template is_base_and_derived is the interface-oriented counterpart of boost::is_base_and_derived. It is a binary, boolean-valued Metafunction which returns true for a pair or interfaces if the first is a direct or indirect superinterface of the second.

Headers

<boost/interfaces/is_base_and_derived.hpp>

Synopsis

namespace boost { namespace interfaces { 

    template<typename Superinterface, typename Subinterface>
    struct is_base_and_derived
        : mpl::bool_< ... >
        { };

} } // End namespace boost::interfaces

Sha'arei Tefila, an Orthodox Shul (Synagogue) in Salt Lake City, Utah Chabad Lubavitch of Utah