ossrv_pub/boost_apis/boost/parameter/aux_/parameter_requirements.hpp
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     1 // Copyright Daniel Wallin, David Abrahams 2005. Use, modification and
       
     2 // distribution is subject to the Boost Software License, Version 1.0. (See
       
     3 // accompanying file LICENSE_1_0.txt or copy at
       
     4 // http://www.boost.org/LICENSE_1_0.txt)
       
     5 
       
     6 #ifndef PARAMETER_REQUIREMENTS_050331_HPP
       
     7 #define PARAMETER_REQUIREMENTS_050331_HPP
       
     8 
       
     9 namespace boost { namespace parameter { namespace aux {
       
    10 
       
    11 // Used to pass static information about parameter requirements
       
    12 // through the satisfies() overload set (below).  The
       
    13 // matched function is never invoked, but its type indicates whether
       
    14 // a parameter matches at compile-time
       
    15 template <class Keyword, class Predicate, class HasDefault>
       
    16 struct parameter_requirements
       
    17 {
       
    18     typedef Keyword keyword;
       
    19     typedef Predicate predicate;
       
    20     typedef HasDefault has_default;
       
    21 };
       
    22 
       
    23 }}} // namespace boost::parameter::aux
       
    24 
       
    25 #endif // PARAMETER_REQUIREMENTS_050331_HPP