Boost logo

Boost Users :

From: Merrill Cornish (merrill.cornish_at_[hidden])
Date: 2006-02-04 19:47:01


Include files such as <cassert> usually have a guard involving the #define
of a specific symbol to prevent then from being included twice. Once you
have defined your own version of assert(), perhaps you could #define the
<cassert> guard symbol as a way of preventing the local <cassert> from
being included.

This would work, of course, only if your version of <cassert> would work for
Boost also.

Merrill


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