Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

BOOST_AFIO_VALIDATE_INPUTS

Validate inputs at the point of instantiation.

Description

Turns on the checking of inputs for validity and throwing of exception conditions at the point of instantiation rather than waiting until those inputs are sent for dispatch. This, being very useful for debugging, defaults to 1 except when NDEBUG is defined i.e. final release builds.

Synopsis
#define BOOST_AFIO_VALIDATE_INPUTS
Parameters

Name

Description

Header

#include <boost/afio/v2/afio.hpp>


PrevUpHomeNext