GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::BadVariantAccess Struct Reference

Exception type that is thrown on an attempt to erroneously access an inactive alternative of a Variant when using a safe access function such as Variant::get(). More...

#include <GREM/core/data/Variant.hpp>

Inheritance diagram for grem::BadVariantAccess:

Public Member Functions

 BadVariantAccess () noexcept=default
const char * what () const noexcept override

Detailed Description

Exception type that is thrown on an attempt to erroneously access an inactive alternative of a Variant when using a safe access function such as Variant::get().

Constructor & Destructor Documentation

◆ BadVariantAccess()

grem::BadVariantAccess::BadVariantAccess ( )
defaultnoexcept

Member Function Documentation

◆ what()

const char * grem::BadVariantAccess::what ( ) const
inlinenodiscardoverridenoexcept

The documentation for this struct was generated from the following file: