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 20 #ifndef BOOST_IOSTREAMS_RESTRICT_HPP_INCLUDED 21 #define BOOST_IOSTREAMS_RESTRICT_HPP_INCLUDED 22 23 #include <boost/iostreams/detail/restrict_impl.hpp> 24 #define BOOST_IOSTREAMS_RESTRICT slice 25 #include <boost/iostreams/detail/restrict_impl.hpp> 26 #undef BOOST_IOSTREAMS_RESTRICT 27 28 #endif // #ifndef BOOST_IOSTREAMS_RESTRICT_HPP_INCLUDED 29