[Bf-committers] Boolops and msvc7/scons
Jonathan Merritt
j.merritt at pgrad.unimelb.edu.au
Sun Oct 30 16:00:11 CET 2005
Hi,
Without checking the specifics, is this a situation in which you can use
the C++ const_cast<>() operator?
const_cast<>() is used to cast-away either volatile-ness or const-ness.
There are lots of references online. eg:
http://www.cplusplus.com/doc/tutorial/tut5-4.html
Jonathan Merritt.
Nathan Letwory wrote:
>Hi,
>
>I tried the same the other day, and ran into the exact same problem. The
>use of const has been a problem in the past (perhaps remember FTGL
>problems?). Connected to this is the copy constructer as it is in BOP.
>Removing the const helps to a certain extent, the problem is that the copy
>constructer is not good anymore
>
>
More information about the Bf-committers
mailing list