Boost logo

Boost :

From: Robert Ramey (ramey_at_[hidden])
Date: 2003-09-18 15:58:21


Vladimir Prus wrote:

>- if(file_version >= unsigned int(2))
>+ if(file_version >= static_cast<unsigned int>(2))

Hmm - I just changed it to:
        if(file_version >= 2)

It compiles with VC and gcc 3.2. Does gcc 3.2 complain about that?

>- ar.register_type<bus_stop_corner>();
>- ar.register_type<bus_stop_destination>();
>+ ar.template register_type<bus_stop_corner>();
>+ ar.template register_type<bus_stop_destination>();
 
gosh - I've never seen that syntax before. I don't even know
what it means. What was the 3.3 complaint with the original?

Robert Ramey


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