C++ Boost

Boost.Preprocessor

Reference


Prev Next Macros Headers

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


#define BOOST_PP_DIV(X,Y)

Expands to the quotient of X and Y.

For example, BOOST_PP_DIV(4,3) expands to 1 (a single token).

Uses

Test


#define BOOST_PREPROCESSOR_DIV(X,Y)

Obsolete. Use BOOST_PP_DIV().


Prev Next Macros Headers

Revised

© Copyright Housemarque Oy 2002

Permission to copy, use, modify, sell and distribute this document is granted provided this copyright notice appears in all copies. This document is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.