Last change
on this file since 29 was
29,
checked in by landauf, 16 years ago
|
updated boost from 1_33_1 to 1_34_1
|
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 | |
---|
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 |
---|
Note: See
TracBrowser
for help on using the repository browser.