LibCT 2.0
|
Template struct which creates a distinct type for each exception code. More...
#include <Exception.h>
Public Types | |
enum | { number = num } |
Template struct which creates a distinct type for each exception code.
This is useful because it allows us to create an overloaded method for returning different exception types by value without ambiguity. From 'Modern C++ Design' (Alexandrescu 2001). (Taken from the OGRE source code)