Boost logo

Boost :

From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2005-08-17 07:12:43

On 8/17/05, Vadim Zeitlin <vz-boost_at_[hidden]> wrote:

> #ifdef _MSC_VER
> #pragma warning(disable:4512)
> #endif
> before and
> #ifdef _MSC_VER
> #pragma warning(default:4512)
> #endif

I think using #pragma warning (push) and #pragma warning (pop) to
guard the #pragma warning (disable) is preferable. This is for case
where the user of the header has disabled this warning in their own
code and doesn't want the default behavior restored.

Caleb Epstein
caleb dot epstein at gmail dot com

Boost list run by bdawes at, gregod at, cpdaniel at, john at