Skip to content

File preprocessor.hpp

FileList > backends > cxx > include > zmbt > core > preprocessor.hpp

Go to the source code of this file

type traits to check serialization compatibility More...

  • #include <boost/preprocessor.hpp>

Macros

Type Name
define ZMBT_PP_INJECT_CODE_INTO_NS (code, ...) /* multi line expression */
define ZMBT_PP_NS_CLOSE (s, state, ns) }
define ZMBT_PP_NS_CLOSE_ALL (...) BOOST\_PP\_SEQ\_FOR\_EACH(ZMBT\_PP\_NS\_CLOSE, , BOOST\_PP\_VARIADIC\_TO\_SEQ(\_\_VA\_ARGS\_\_))
define ZMBT_PP_NS_OPEN (s, state, ns) namespace ns {
define ZMBT_PP_NS_OPEN_ALL (...) BOOST\_PP\_SEQ\_FOR\_EACH(ZMBT\_PP\_NS\_OPEN, , BOOST\_PP\_VARIADIC\_TO\_SEQ(\_\_VA\_ARGS\_\_))

Detailed Description

Copyright:

(c) Copyright 2022-2023 Volvo Car Corporation

Copyright:

(c) Copyright 2024 Zenseact AB

** **

SPDX-License-Identifier: Apache-2.0

Macro Definition Documentation

define ZMBT_PP_INJECT_CODE_INTO_NS

#define ZMBT_PP_INJECT_CODE_INTO_NS (
    code,
    ...
) `/* multi line expression */`

define ZMBT_PP_NS_CLOSE

#define ZMBT_PP_NS_CLOSE (
    s,
    state,
    ns
) `}`

define ZMBT_PP_NS_CLOSE_ALL

#define ZMBT_PP_NS_CLOSE_ALL (
    ...
) `BOOST_PP_SEQ_FOR_EACH(ZMBT_PP_NS_CLOSE, , BOOST_PP_VARIADIC_TO_SEQ(__VA_ARGS__))`

define ZMBT_PP_NS_OPEN

#define ZMBT_PP_NS_OPEN (
    s,
    state,
    ns
) `namespace ns {`

define ZMBT_PP_NS_OPEN_ALL

#define ZMBT_PP_NS_OPEN_ALL (
    ...
) `BOOST_PP_SEQ_FOR_EACH(ZMBT_PP_NS_OPEN, , BOOST_PP_VARIADIC_TO_SEQ(__VA_ARGS__))`


The documentation for this class was generated from the following file zmbt-framework/zmbt-framework/backends/cxx/include/zmbt/core/preprocessor.hpp