File indexing completed on 2025-01-18 09:34:43
0001
0002
0003
0004
0005
0006
0007
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