15 #ifndef OPENSCENARIO_INTERPRETER__TYPE_TRAITS__MUST_BE_DEFAULT_CONSTRUCTIBLE_HPP_
16 #define OPENSCENARIO_INTERPRETER__TYPE_TRAITS__MUST_BE_DEFAULT_CONSTRUCTIBLE_HPP_
19 #include <type_traits>
23 inline namespace type_traits
25 template <
typename T,
typename =
void>
28 template <
typename Error>
37 T, typename
std::enable_if<std::is_default_constructible<T>::value>::type>
39 template <
typename... Ts>
static T makeItOrThrow(Ts &&...)
Definition: must_be_default_constructible.hpp:40
Definition: must_be_default_constructible.hpp:27
static T makeItOrThrow(Error &&error)
Definition: must_be_default_constructible.hpp:29