Line | |
---|
1 | // Boost string_algo library predicate_facade.hpp header file ---------------------------// |
---|
2 | |
---|
3 | // Copyright Pavol Droba 2002-2003. Use, modification and |
---|
4 | // distribution is subject to the Boost Software License, Version |
---|
5 | // 1.0. (See accompanying file LICENSE_1_0.txt or copy at |
---|
6 | // http://www.boost.org/LICENSE_1_0.txt) |
---|
7 | |
---|
8 | // See http://www.boost.org for updates, documentation, and revision history. |
---|
9 | |
---|
10 | #ifndef BOOST_STRING_PREDICATE_FACADE_HPP |
---|
11 | #define BOOST_STRING_PREDICATE_FACADE_HPP |
---|
12 | |
---|
13 | #include <boost/algorithm/string/config.hpp> |
---|
14 | |
---|
15 | /* |
---|
16 | \file boost/algorith/string/predicate_facade.hpp |
---|
17 | This file containes predicate_facade definition. This template class is used |
---|
18 | to identify classification predicates, so they can be combined using |
---|
19 | composition operators. |
---|
20 | */ |
---|
21 | |
---|
22 | namespace boost { |
---|
23 | namespace algorithm { |
---|
24 | |
---|
25 | // predicate facade ------------------------------------------------------// |
---|
26 | |
---|
27 | //! Predicate facade |
---|
28 | /*! |
---|
29 | This class allows to recognize classification |
---|
30 | predicates, so that they can be combined using |
---|
31 | composition operators. |
---|
32 | Every classification predicate must be derived from this class. |
---|
33 | */ |
---|
34 | template<typename Derived> |
---|
35 | struct predicate_facade {}; |
---|
36 | |
---|
37 | } // namespace algorithm |
---|
38 | } // namespace boost |
---|
39 | |
---|
40 | |
---|
41 | #endif // BOOST_STRING_CLASSIFICATION_DETAIL_HPP |
---|
Note: See
TracBrowser
for help on using the repository browser.