...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
BOOST_TYPE_ERASURE_FREE — Defines a primitive concept for a free function.
// In header: <boost/type_erasure/free.hpp>
BOOST_TYPE_ERASURE_FREE(qualified_name, function_name, N)
The declaration of the concept is
template<class Sig> struct ::namespace1::namespace2::...::concept_name;
where Sig is a function type giving the signature of the function.
This macro can only be used in the global namespace.
Example:
BOOST_TYPE_ERASURE_FREE((boost)(has_to_string), to_string, 1)
Parameters: |
|