Boost logo

Boost Users :

From: Marcin Tustin (mt_at_[hidden])
Date: 2005-06-13 04:12:25


        I'm getting substantially the same error as before:
c:\D2\API\NewClient\EnhancedMessageHandler.h(371) : error C2679: binary
'&' : no operator found which takes a right-hand operand of type 'int'
(or there is no acceptable conversion)

Or, alternatively binary '<<' when using the << operator, in the code:

      template<class Archive >
      static void save(Archive & ar, const IplJrsMediaTimePoint& g,
const unsigned int version)
      {
         ar << ( const int )(g.GetYear());
      }

 - But also when I use static_cast or for type uint32 when I don't have
a cast.

Any suggestions very gratefully received.

Marcin Tustin
IT Innovation Centre
2 Venture Road
Chilworth Science Park
Southampton, SO16 7NP, UK

tel: +44 23 8076 0834
fax: +44 23 8076 0833

mailto:mt_at_[hidden]
http://www.it-innovation.soton.ac.uk


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