LibCT 2.0
Public Types

LibCT::ExceptionCodeType< num > Struct Template Reference

Template struct which creates a distinct type for each exception code. More...

#include <Exception.h>

List of all members.

Public Types

enum  { number = num }

Detailed Description

template<int num>
struct LibCT::ExceptionCodeType< 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)


Member Enumeration Documentation

template<int num>
anonymous enum
Enumerator:
number 

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