Boost logo

Boost :

From: Mat Marcus (mat-boost_at_[hidden])
Date: 2005-08-16 10:15:45


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In one of our projects, the following code produces some strange
compilation errors under VC 7.1/boost 1.33.0. Can anyone suggest a
workaround?

 - Mat

#include <sstream>
#include "boost/type_traits.hpp"
#include "boost/utility/enable_if.hpp"

template <typename EnumType>
typename boost::enable_if<boost::is_enum<EnumType>, EnumType>::type
operator ~ (EnumType a);

std::stringstream t;

-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.2 (Build 2424)

iQA/AwUBQwIDTxIZBaoznf65EQKEyACgnVW7095czvJp1MMvNruggOxQfIQAn2Qs
TAtl4P353L4rRplTeFJwW2kO
=jqlu
-----END PGP SIGNATURE-----


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk