PStack  2.0
Stack trace printer for MSVC and GCC binaries
not_copyable.hpp
Go to the documentation of this file.
1 // ===-- include/psystem/framework/not_copyable.hpp ------- -*- C++ -*- --=== //
2 // Copyright (c) 2014 Matt Bisson. All rights reserved.
3 
18 #pragma once
19 #ifndef PSYSTEM_FRAMEWORK_NOT_COPYABLE_HPP
20 #define PSYSTEM_FRAMEWORK_NOT_COPYABLE_HPP
21 
22 #include "platform.hpp"
23 
24 namespace psystem {
25 
44 {
45 protected:
47  not_copyable(not_copyable const&) = delete;
48 
50  not_copyable& operator=(not_copyable const&) = delete;
51 
54 
57 };
58 
59 } // namespace psystem
60 
61 #endif // PSYSTEM_FRAMEWORK_NOT_COPYABLE_HPP
Master header file for Platform-wide declarations.
constexpr not_copyable() noexcept
A simple CTOR suitable for noexcept and constexpr uses.
Definition: not_copyable.hpp:53
~not_copyable() noexcept
A simple CTOR suitable for noexcept uses.
Definition: not_copyable.hpp:56
#define noexcept
Replace keyword with something useful.
Definition: platform.hpp:71
Remove the ability to copy or reassign from derived classes.
Definition: not_copyable.hpp:43
not_copyable & operator=(not_copyable const &)=delete
Delete the assignment operator.
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