8 Nov
2010
8 Nov
'10
3:34 p.m.
Jan Gaspar wrote:
If you a problem only with iterator invalidation (which works in debug mode only) you can disable it completely. The documentation says: The debug support is enabled only in the debug mode (when the NDEBUG is not defined). It can also be explicitly disabled (only for circular_buffer) by defining BOOST_CB_DISABLE_DEBUG macro.
How would that work is my code is linked with other code that doesn't turn off the BOOST_CB_DISABLE_DEBUG macro? I would imagine there would only be a problem if some other code is using a circular buffer to hold the same type I am (which is probably the case, but puts a requirement on other people's code). Is that it? -- Anthony Foglia Princeton Consultants (609) 987-8787 x233