1#ifndef CONTAINER_EXCEPTION_H_INCLUDED
2#define CONTAINER_EXCEPTION_H_INCLUDED
7#ifdef CPPELIB_NO_EXCEPTIONS
9#define CPPELIB_CONTAINER_THROW(x) CHECK_ASSERT(false && #x)
11#define CPPELIB_CONTAINER_THROW(x) throw x
14#if (__cplusplus >= 201103L)
15#define CPPELIB_CONTAINER_NOEXCEPT noexcept
17#define CPPELIB_CONTAINER_NOEXCEPT throw()
26 const char*
what() const CPPELIB_CONTAINER_NOEXCEPT
37 virtual const char*
what() const CPPELIB_CONTAINER_NOEXCEPT = 0;
Definition ContainerException.h:34
BadAlloc()
Definition ContainerException.h:36
virtual const char * what() const CPPELIB_CONTAINER_NOEXCEPT=0
Definition ContainerException.h:23
const char * what() const CPPELIB_CONTAINER_NOEXCEPT
Definition ContainerException.h:26
OutOfRange(const char *msg)
Definition ContainerException.h:25