Spinning Topp Logo BlackTopp Studios
inc
Public Types | List of all members
Mezzanine::ExceptionFactory< MemoryManagementException::ExceptionCode > Struct Template Reference

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

#include <exception.h>

Public Types

typedef MemoryManagementException Type
 This allows parameterized uses of this type when, so exception can be throw without directly using the type system. More...
 

Detailed Description

template<>
struct Mezzanine::ExceptionFactory< MemoryManagementException::ExceptionCode >

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 at compile when template are being resolved. So this system can be extended with additional exceptions wherever desired. Attempting to create an unknown exception simply won't compile because the base exception class being abstract.

Definition at line 1675 of file exception.h.

Member Typedef Documentation

This allows parameterized uses of this type when, so exception can be throw without directly using the type system.

Definition at line 1679 of file exception.h.


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