PlayRho  2.0.0
An interactive physics engine & library.
playrho::OutOfRange< T > Class Template Reference

Out-of-range exception with a range type & value. More...

#include <playrho/OutOfRange.hpp>

Inheritance diagram for playrho::OutOfRange< T >:
[legend]
Collaboration diagram for playrho::OutOfRange< T >:
[legend]

Public Types

using type = T
 Type of the index whose value was out-of-range.
 

Public Member Functions

 OutOfRange (type v, const char *msg)
 Initializing constructor.
 
 OutOfRange (type v, const std::string &msg)
 Initializing constructor.
 

Public Attributes

type value {}
 Value of the index that was out-of-range.
 

Detailed Description

template<class T>
class playrho::OutOfRange< T >

Out-of-range exception with a range type & value.

See also
std::out_of_range.

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