Skip to content

File aliases.hpp

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

Go to the source code of this file

More...

  • #include <type_traits>
  • #include <tuple>
  • #include <boost/callable_traits.hpp>
  • #include <boost/mp11.hpp>

Namespaces

Type Name
namespace zmbt
ZMBT root namespace.

Macros

Type Name
define USING_STD_TYPETRAIT (trait) template &lt;class T&gt; using trait = std::trait&lt;T&gt;;
define USING_STD_TYPETRAIT_BINARY (trait) /* multi line expression */
define USING_STD_TYPETRAIT_PROPERTY (trait) USING\_STD\_TYPETRAIT(trait) USING\_TYPETRAIT\_V(trait)
define USING_STD_TYPETRAIT_TRANSFORM (trait) USING\_STD\_TYPETRAIT(trait) USING\_TYPETRAIT\_T(trait)
define USING_TYPETRAIT_T (trait) template&lt;class T&gt; using trait##\_t = typename trait&lt;T&gt;::type;
define USING_TYPETRAIT_V (trait) template&lt;class T&gt; static constexpr bool trait##\_v = trait&lt;T&gt;::value;

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 USING_STD_TYPETRAIT

#define USING_STD_TYPETRAIT (
    trait
) `template <class T> using trait = std::trait<T>;`

define USING_STD_TYPETRAIT_BINARY

#define USING_STD_TYPETRAIT_BINARY (
    trait
) `/* multi line expression */`

define USING_STD_TYPETRAIT_PROPERTY

#define USING_STD_TYPETRAIT_PROPERTY (
    trait
) `USING_STD_TYPETRAIT(trait) USING_TYPETRAIT_V(trait)`

define USING_STD_TYPETRAIT_TRANSFORM

#define USING_STD_TYPETRAIT_TRANSFORM (
    trait
) `USING_STD_TYPETRAIT(trait) USING_TYPETRAIT_T(trait)`

define USING_TYPETRAIT_T

#define USING_TYPETRAIT_T (
    trait
) `template<class T> using trait##_t = typename trait<T>::type;`

define USING_TYPETRAIT_V

#define USING_TYPETRAIT_V (
    trait
) `template<class T> static constexpr bool trait##_v = trait<T>::value;`


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