PStack  2.0
Stack trace printer for MSVC and GCC binaries
not_assignable.hpp
Go to the documentation of this file.
1 // ===-- include/psystem/framework/not_assignable.hpp ----- -*- C++ -*- --=== //
2 // Copyright (c) 2014 Matt Bisson. All rights reserved.
17 #pragma once
18 #ifndef PSYSTEM_FRAMEWORK_NOT_ASSIGNABLE_HPP
19 #define PSYSTEM_FRAMEWORK_NOT_ASSIGNABLE_HPP
20 
21 #include "platform.hpp"
22 
23 namespace psystem {
24 
43 {
44 protected:
46  not_assignable& operator=(not_assignable const&) const = delete;
47 
50 
53 };
54 
55 } // namespace psystem
56 
57 #endif // PSYSTEM_FRAMEWORK_NOT_ASSIGNABLE_HPP
Master header file for Platform-wide declarations.
#define noexcept
Replace keyword with something useful.
Definition: platform.hpp:71
Removes the ability to use an assignment operation on derived classes.
Definition: not_assignable.hpp:42
Contains the process examination "system" and basic frameworks.
Definition: pstack_event_handler.hpp:28
#define constexpr
Replace keyword with something useful.
Definition: platform.hpp:70
~not_assignable() noexcept
A simple CTOR suitable for noexcept uses.
Definition: not_assignable.hpp:52
constexpr not_assignable() noexcept
A simple CTOR suitable for noexcept and constexpr uses.
Definition: not_assignable.hpp:49
not_assignable & operator=(not_assignable const &) const =delete
Delete the basic assignment operator.