1 /*=============================================================================
2 Copyright (c) 1999-2003 Jaakko Jarvi
3 Copyright (c) 1999-2003 Jeremiah Willcock
4 Copyright (c) 2001-2011 Joel de Guzman
6 Distributed under the Boost Software License, Version 1.0. (See accompanying
7 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 ==============================================================================*/
9 #if !defined(BOOST_IN_05042005_0120)
10 #define BOOST_IN_05042005_0120
13 #include <boost/fusion/sequence/io/detail/in.hpp>
14 #include <boost/fusion/support/is_sequence.hpp>
16 namespace boost { namespace fusion
18 template <typename Sequence>
20 in(std::istream& is, Sequence& seq)
22 detail::read_sequence(is, seq);
28 template <typename Sequence>
31 fusion::traits::is_sequence<Sequence>
34 operator>>(std::istream& is, Sequence& seq)
36 return fusion::in(is, seq);
39 using operators::operator>>;