MGIS
Loading...
Searching...
No Matches
InvalidResult.hxx File Reference

This file declares the InvalidResult class. More...

#include <memory>
#include <optional>
#include "MGIS/InvalidResult.ixx"

Classes

struct  mgis::internal::InvalidValueTraits< Type >
 metafunction returning an invalid value associated with a type 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 bool) noexcept
 
template<typename T >
constexpr bool mgis::isInvalid (const std::optional< T > &) noexcept
 
template<typename T >
constexpr bool mgis::isInvalid (T *const) noexcept
 
template<typename T >
constexpr bool mgis::isInvalid (const std::unique_ptr< T > &) noexcept
 
template<typename T >
constexpr bool mgis::isInvalid (const std::shared_ptr< T > &) noexcept
 
constexpr bool mgis::areInvalid (const auto &...) noexcept
 
constexpr bool mgis::isValid (const auto &) noexcept
 
constexpr bool mgis::areValid (const auto &...) noexcept
 

Detailed Description

This file declares the InvalidResult class.

Date
15/11/2022