source: NonGTP/Boost/boost/iostreams/detail/default_arg.hpp @ 857

Revision 857, 813 bytes checked in by igarcia, 19 years ago (diff)
RevLine 
[857]1// (C) Copyright Jonathan Turkanis 2005.
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#ifndef BOOST_IOSTREAMS_DETAIL_DEFAULT_ARG_HPP_INCLUDED
8#define BOOST_IOSTREAMS_DETAIL_DEFAULT_ARG_HPP_INCLUDED
9
10#if defined(_MSC_VER) && (_MSC_VER >= 1020)
11# pragma once
12#endif           
13
14#include <boost/config.hpp>
15#include <boost/detail/workaround.hpp>
16
17#if BOOST_WORKAROUND(BOOST_MSVC, < 1300)
18# include <boost/mpl/identity.hpp>
19# define BOOST_IOSTREAMS_DEFAULT_ARG(arg) mpl::identity< arg >::type
20#else
21# define BOOST_IOSTREAMS_DEFAULT_ARG(arg) arg
22#endif
23
24#endif // #ifndef BOOST_IOSTREAMS_DETAIL_DEFAULT_ARG_HPP_INCLUDED
Note: See TracBrowser for help on using the repository browser.