MezzanineEngine 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | List of all members
Mezzanine::ExceptionFactory< N > Struct Template Reference

Template class that serves as the base for exception factories. More...

#include <exception.h>

Public Types

typedef Exception Type
 

Detailed Description

template<Whole N>
struct Mezzanine::ExceptionFactory< N >

Template class that serves as the base for exception factories.

Additional exceptions and their factories have to specialize from this template changing the type value to the new exception type. This allows our exception macro to find the appropriate factory and be extendable with additional exceptions. Attempting to create an unknown exception simply won't compile on account of the base exception class being abstract.

Definition at line 189 of file exception.h.


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