Support Class Library
A set of tools providing classes and utility
UninitializedMemoryAccess.h
Go to the documentation of this file.
1 #pragma once
3 
4 namespace scl{
5  namespace exceptions{
11 
12  UninitializedMemoryAccess() : UninitializedMemoryAccess("Trying to access uninitialized memory") {
13  }
14 
15  realConst(char*) type() const noexcept override {
16  return "scl::exceptions::UninitializedMemoryAccess";
17  }
18  };
19  }
20 }
Global namespace of the SCL.
Definition: alias.hpp:3
#define realConst(type)
Definition: macros.h:3
Exception class used when trying to access uninitialized memory.
RuntimeException(T &&reason)
Construct an scl::exceptions::Exception from an error message.
const char *const type() const noexcept override
A string describing the name of the exception class.
Base class for exceptions that could never be checked at compile-time.