Boost logo

Boost Users :

From: Chris Coleman (cqc_at_[hidden])
Date: 2005-07-20 13:41:33


Robert Ramey wrote:

>Actually I believe the following will work.
>
>const gps_position * const g_ptr = new gps_position(35, 59, 24.567f);
>oa << g_ptr;
>
>
Yep, thats done it. Thanks for your help.

FWIW, I agree it is fairly obscure, since the obvious const * solution
was my origional attempt at solving the error, and I probably wouldn't
have arrived at this alone...

Cheers
Chris

This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


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