TTMath  0.9.4
 C++ bignum library
Public Member Functions
ttmath::ReferenceError Class Reference

#include <ttmathtypes.h>

Inheritance diagram for ttmath::ReferenceError:
Inheritance graph
[legend]
Collaboration diagram for ttmath::ReferenceError:
Collaboration graph
[legend]

Public Member Functions

 ReferenceError (const char *f, int l)
 
std::string Where () const
 

Detailed Description

A small class used for reporting 'reference' errors

In the library is used macro TTMATH_REFERENCE_ASSERT which can throw an exception of this type

from version 0.9.2 this macro is removed from all methods in public interface so you don't have to worry about it **

If you compile with gcc you can get a small benefit from using method Where() (it returns std::string) with the name and the line of a file where the macro TTMATH_REFERENCE_ASSERT was used)

Definition at line 592 of file ttmathtypes.h.


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