|
MGIS 3.1.0
|
This file declares the InvalidResult class. More...
#include <memory>#include <cassert>#include <optional>#include "MGIS/Config.hxx"#include "MGIS/InvalidResult.ixx"Classes | |
| struct | mgis::internal::InvalidValueTraits< Type > |
| metafunction returning an invalid value associated with a type More... | |
| struct | mgis::internal::OptionalTraits< Type > |
| metafunction allowing returning a value from an optional-like type or void for boolean values More... | |
| struct | mgis::internal::OptionalTraits< bool > |
| partial specialisation for boolean values More... | |
| struct | mgis::internal::OptionalTraits< std::optional< T > > |
| partial specialisation for std::optional values More... | |
| struct | mgis::InvalidResult |
| a class convertible to many values used as invalid result. More... | |
Namespaces | |
| namespace | mgis |
| the namespace mgis encloses all the MGIS project. | |
Functions | |
| constexpr bool | mgis::isInvalid (const InvalidResult &) MGIS_NOEXCEPT |
| constexpr bool | mgis::isInvalid (const bool) MGIS_NOEXCEPT |
| template<typename T> | |
| constexpr bool | mgis::isInvalid (const std::optional< T > &) MGIS_NOEXCEPT |
| template<typename T> | |
| constexpr bool | mgis::isInvalid (T *const) MGIS_NOEXCEPT |
| template<typename T> | |
| constexpr bool | mgis::isInvalid (const std::unique_ptr< T > &) MGIS_NOEXCEPT |
| template<typename T> | |
| constexpr bool | mgis::isInvalid (const std::shared_ptr< T > &) MGIS_NOEXCEPT |
| constexpr bool | mgis::areInvalid (const auto &...) MGIS_NOEXCEPT |
| constexpr bool | mgis::isValid (const auto &) MGIS_NOEXCEPT |
| constexpr bool | mgis::areValid (const auto &...) MGIS_NOEXCEPT |
This file declares the InvalidResult class.