Skip to content

Struct hal::error::invalid_option_t

template <auto... options>

ClassList > hal > error > invalid_option_t

Used for defining static_asserts that should always fail, but only if the static_assert line is hit via if constexpr control block. Prefer to NOT use this directly but to useinvalid_option instead.More...

  • #include <error.hpp>

Inherits the following classes: std::false_type

Detailed Description

Template parameters:

  • options ignored by the application but needed to create a non-trivial specialization of this class which allows its usage in static_assert.

The documentation for this class was generated from the following file libraries/include/libhal/error.hpp