iterator_traits.hpp 817 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. *
  3. * Copyright (c) 1998-2002
  4. * John Maddock
  5. *
  6. * Use, modification and distribution are subject to the
  7. * Boost Software License, Version 1.0. (See accompanying file
  8. * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  9. *
  10. */
  11. /*
  12. * LOCATION: see http://www.boost.org for most recent version.
  13. * FILE iterator_traits.cpp
  14. * VERSION see <boost/version.hpp>
  15. * DESCRIPTION: Declares iterator traits workarounds.
  16. */
  17. #ifndef BOOST_REGEX_V5_ITERATOR_TRAITS_HPP
  18. #define BOOST_REGEX_V5_ITERATOR_TRAITS_HPP
  19. #ifndef BOOST_REGEX_AS_MODULE
  20. #include <iterator>
  21. #endif
  22. namespace boost{
  23. namespace BOOST_REGEX_DETAIL_NS{
  24. template <class T>
  25. struct regex_iterator_traits : public std::iterator_traits<T> {};
  26. } // namespace BOOST_REGEX_DETAIL_NS
  27. } // namespace boost
  28. #endif