guanaqo main
Utilities for scientific software
Loading...
Searching...
No Matches
guanaqo::bad_type_erased_type Class Reference

#include <guanaqo/type-erasure.hpp>

Detailed Description

Definition at line 28 of file type-erasure.hpp.

Inheritance diagram for guanaqo::bad_type_erased_type:
Collaboration diagram for guanaqo::bad_type_erased_type:

Public Member Functions

 bad_type_erased_type (const std::type_info &actual_type, const std::type_info &requested_type, const std::string &message="")
const char * what () const noexcept override

Private Attributes

const std::type_info & actual_type
const std::type_info & requested_type
std::string message

Constructor & Destructor Documentation

◆ bad_type_erased_type()

guanaqo::bad_type_erased_type::bad_type_erased_type ( const std::type_info & actual_type,
const std::type_info & requested_type,
const std::string & message = "" )
inline

Definition at line 30 of file type-erasure.hpp.

Member Function Documentation

◆ what()

const char * guanaqo::bad_type_erased_type::what ( ) const
inlinenodiscardoverridenoexcept

Definition at line 36 of file type-erasure.hpp.

Here is the call graph for this function:

Member Data Documentation

◆ actual_type

const std::type_info& guanaqo::bad_type_erased_type::actual_type
private

Definition at line 48 of file type-erasure.hpp.

◆ requested_type

const std::type_info& guanaqo::bad_type_erased_type::requested_type
private

Definition at line 49 of file type-erasure.hpp.

◆ message

std::string guanaqo::bad_type_erased_type::message
mutableprivate

Definition at line 50 of file type-erasure.hpp.


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