Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:34:43

0001 /*=============================================================================
0002     Copyright (c) 1999-2003 Jaakko Jarvi
0003     Copyright (c) 1999-2003 Jeremiah Willcock
0004     Copyright (c) 2001-2011 Joel de Guzman
0005 
0006     Distributed under the Boost Software License, Version 1.0. (See accompanying
0007     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0008 ==============================================================================*/
0009 #if !defined(BOOST_IN_05042005_0120)
0010 #define BOOST_IN_05042005_0120
0011 
0012 #include <boost/fusion/support/config.hpp>
0013 #include <boost/fusion/sequence/io/detail/in.hpp>
0014 #include <boost/fusion/support/is_sequence.hpp>
0015 #include <iosfwd>
0016 
0017 namespace boost { namespace fusion
0018 {
0019     template <typename Sequence>
0020     inline std::istream&
0021     in(std::istream& is, Sequence& seq)
0022     {
0023         detail::read_sequence(is, seq);
0024         return is;
0025     }
0026 
0027     namespace operators
0028     {
0029         template <typename Sequence>
0030         inline typename
0031             boost::enable_if<
0032                fusion::traits::is_sequence<Sequence>
0033               , std::istream&
0034             >::type
0035         operator>>(std::istream& is, Sequence& seq)
0036         {
0037             return fusion::in(is, seq);
0038         }
0039     }
0040     using operators::operator>>;
0041 }}
0042 
0043 #endif