implements
The class template implements is a binary, boolean-valued Metafunction which returns true for a class/interface pair if the class implements the interface, i.e., if the class defines non-static member functions with names and signatures exactly matching those of the member functions of the interface.
implements can be disabled by defining the preprocessor symbol BOOST_IDL_NO_IMPLEMENTS; this can help shorten compile times slightly. If support for implements is disabled, the class template implements will be defined but will always evaluate to mpl::false_.
implements is currently broken on VC 7.1. See Testing: Supported Platforms.
<boost/interfaces/implements.hpp>namespace boost { namespace interfaces { template<typename T, typename Interface> struct implements : mpl::bool_< ... > { }; } } // End namespace boost::interfaces
Revised 13 Jan, 2005
© Copyright Jonathan Turkanis, 2005. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Sha'arei Tefila, an Orthodox Shul (Synagogue) in Salt Lake City, Utah Chabad Lubavitch of Utah