Boost logo

Boost Users :

From: Christopher Baus (christopher_at_[hidden])
Date: 2004-07-22 13:44:59

> Then, in his version of ON_BLOCK_EXIT (which
> is customized for his library, and so not generally useful) expands to
> something like this:
> const scope_guard_impl_base& guard = make_guard( ... );
> guard.touch();

That's probably a better solution than using compiler dependant switches.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at