exception.hpp 320 B

1234567891011121314151617
  1. #pragma once
  2. #include <stdexcept>
  3. #include "pointer_fwd.hpp"
  4. namespace pointers {
  5. class unchecked_pointer_exception : public std::logic_error {
  6. using std::logic_error::logic_error;
  7. };
  8. class null_pointer_exception : public std::invalid_argument {
  9. using std::invalid_argument::invalid_argument;
  10. };
  11. }