slice.hpp 1018 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Distributed under the Boost Software License, Version 1.0.(See accompanying
  3. * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
  4. *
  5. * See http://www.boost.org/libs/iostreams for documentation.
  6. *
  7. * File: boost/iostreams/detail/restrict.hpp
  8. * Date: Sun Jan 06 12:57:30 MST 2008
  9. * Copyright: 2008 CodeRage, LLC
  10. 2004-2007 Jonathan Turkanis
  11. * Author: Jonathan Turkanis
  12. * Contact: turkanis at coderage dot com
  13. *
  14. * Defines the class template boost::iostreams::restriction and the
  15. * overloaded function template boost::iostreams::slice.
  16. *
  17. * This header is provided for platforms on which "restrict" is a keyword.
  18. */
  19. #ifndef BOOST_IOSTREAMS_RESTRICT_HPP_INCLUDED
  20. #define BOOST_IOSTREAMS_RESTRICT_HPP_INCLUDED
  21. #include <boost/iostreams/detail/restrict_impl.hpp>
  22. #define BOOST_IOSTREAMS_RESTRICT slice
  23. #include <boost/iostreams/detail/restrict_impl.hpp>
  24. #undef BOOST_IOSTREAMS_RESTRICT
  25. #endif // #ifndef BOOST_IOSTREAMS_RESTRICT_HPP_INCLUDED