AnySet Documentation
Public Member Functions | Public Attributes | List of all members
te::CopyConstructionError Struct Reference

Detailed Description

Base type of NoCopyConstructorError. Thrown when attempting to make copies of an AnyValue instance that contains a non-copy-constructible type.

#include <AnyNode.h>

Public Member Functions

 CopyConstructionError (const std::type_info &ti)
 Construct a CopyConstructionError exception object. More...
 
virtual const char * what () const noexcept override
 
- Public Member Functions inherited from std::logic_error
logic_error (T... args)
 
what (T... args)
 

Public Attributes

const std::type_infotypeinfo
 

Constructor & Destructor Documentation

◆ CopyConstructionError()

te::CopyConstructionError::CopyConstructionError ( const std::type_info ti)
inline

Construct a CopyConstructionError exception object.

Parameters
ti- Reference to a std::type_info object of the type that failed to be constructed.

Member Data Documentation

◆ typeinfo

const std::type_info& te::CopyConstructionError::typeinfo

Reference to a std::type_info object indicating the contained type of the AnyValue instance.

Inheritance diagram for te::CopyConstructionError:
Inheritance graph
[legend]
Collaboration diagram for te::CopyConstructionError:
Collaboration graph
[legend]

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