The BOOST_PP_IS_STANDARD macro specifies whether the compiler's preprocessor is a standard conforming one or not.


The macro is a function-like macro taking no parameters. It is used to check if the compiler's preprocessor is standard conforming. One use for the end-user is to see if limitations can be changed, since changes will only take affect for standard conforming preprocessors. The macro expands to 1 if the compiler's preprocessor is standard conforming and 0 if it is not.
Header:  <boost/preprocessor/config/config.hpp>

Sample Code

// Beginning of source file

#include <boost/preprocessor/config/config.hpp>

#define BOOST_PP_LIMIT_MAG 512

#include <boost/preprocessor/arithmetic.hpp> // etc.

Copyright Edward Diener 2020

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at