Boost logo

Boost Users :

Subject: Re: [Boost-users] [type_traits] will the future has_operator_left_shift be able to test if a type is serializable to a stream ?
From: Frédéric Bron (frederic.bron_at_[hidden])
Date: 2011-02-05 16:01:05


New version of the type_traits extension available here:
- vault unix: http://www.boostpro.com/vault/index.php?action=downloadfile&filename=type_traits.tar.bz2&directory=Extension&
- vault dos: http://www.boostpro.com/vault/index.php?action=downloadfile&filename=type_traits-dos.tar.bz2&directory=Extension&
- sandbox: http://svn.boost.org/svn/boost/sandbox/type_traits/

can you check?
BOOST_STATIC_ASSERT(( boost::has_operator_left_shift< int, int >::value ));
BOOST_STATIC_ASSERT(( boost::has_operator_left_shift< std::ostream,
int >::value ));

Regards,

Frédéric


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net