scenario_simulator_v2 C++ API
Namespaces | Macros
assertion_auxiliary.hpp File Reference
#include <utility>
Include dependency graph for assertion_auxiliary.hpp:

Go to the source code of this file.

Namespaces

 openscenario_interpreter
 
 openscenario_interpreter::utility
 

Macros

#define ASSERT_IS_OPTIONAL_ELEMENT(TYPE)
 

Macro Definition Documentation

◆ ASSERT_IS_OPTIONAL_ELEMENT

#define ASSERT_IS_OPTIONAL_ELEMENT (   TYPE)
Value:
static_assert( \
std::is_default_constructible<TYPE>::value, \
"OpenSCENARIO specification uses type '" #TYPE \
"' as optional element (as minOccurs=\"0\"), " \
"thus type '" #TYPE "' must be met concept DefaultConstructible.")