predicate_facade.hpp 1.3 KB

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