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