Jeff Thompson | 86b6d64 | 2013-10-17 15:01:56 -0700 | [diff] [blame^] | 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: ndnboost/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 ndnboost::iostreams::restriction and the |
| 15 | * overloaded function template ndnboost::iostreams::slice. |
| 16 | * |
| 17 | * This header is provided for platforms on which "restrict" is a keyword. |
| 18 | */ |
| 19 | |
| 20 | #ifndef NDNBOOST_IOSTREAMS_RESTRICT_HPP_INCLUDED |
| 21 | #define NDNBOOST_IOSTREAMS_RESTRICT_HPP_INCLUDED |
| 22 | |
| 23 | #include <ndnboost/iostreams/detail/restrict_impl.hpp> |
| 24 | #define NDNBOOST_IOSTREAMS_RESTRICT slice |
| 25 | #include <ndnboost/iostreams/detail/restrict_impl.hpp> |
| 26 | #undef NDNBOOST_IOSTREAMS_RESTRICT |
| 27 | |
| 28 | #endif // #ifndef NDNBOOST_IOSTREAMS_RESTRICT_HPP_INCLUDED |