Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/boost/parameter/aux_/parameter_requirements.hpp @ 13

Last change on this file since 13 was 12, checked in by landauf, 17 years ago

added boost

  • Property svn:executable set to *
File size: 883 bytes
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.