Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4BadAnyCast Class Reference

#include <G4AnyType.hh>

+ Inheritance diagram for G4BadAnyCast:

Public Member Functions

 G4BadAnyCast ()
 
virtual const char * what () const throw ()
 

Detailed Description

Author
K. Henney

Definition at line 189 of file G4AnyType.hh.

Constructor & Destructor Documentation

◆ G4BadAnyCast()

G4BadAnyCast::G4BadAnyCast ( )
inline

Constructor

Definition at line 192 of file G4AnyType.hh.

192{}

Member Function Documentation

◆ what()

virtual const char * G4BadAnyCast::what ( ) const
throw (
)
inlinevirtual

Query

Definition at line 195 of file G4AnyType.hh.

195 {
196 return "G4BadAnyCast: failed conversion using any_cast";
197 }

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