Back to Arangodb

BOOST_PP_NIL

3rdParty/boost/1.78.0/libs/preprocessor/doc/ref/nil.html

3.12.9.1869 B
Original Source

The BOOST_PP_NIL identifier is reserved by the library to indicate a non-macro.

Usage

BOOST_PP_NIL

Remarks

This identifier is not defined. Its purpose is to not be a macro. It is also used to terminate a list.

Sample Code

#include <[boost/preprocessor/list/adt.hpp](../headers/list/adt.html)>

#define LIST (x, (y, (z,[BOOST\_PP\_NIL](nil.html))))[BOOST\_PP\_LIST\_FIRST](list_first.html)(x) // expands to x[BOOST\_PP\_LIST\_REST](list_rest.html)(x) // expands to (y, (z,[BOOST\_PP\_NIL](nil.html)))

Copyright Housemarque Oy 2002 Copyright Paul Mensonides 2002

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at www.boost.org/LICENSE_1_0.txt)