source: NonGTP/Boost/boost/parameter/aux_/parameter_requirements.hpp @ 857

Revision 857, 908 bytes checked in by igarcia, 19 years ago (diff)
Line 
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
9namespace 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
15template <class Keyword, class Predicate, class HasDefault>
16struct 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
Note: See TracBrowser for help on using the repository browser.