CuteHMI - CuteHMI (CuteHMI.2)
NonMovable.hpp
1 #ifndef H_EXTENSIONS_CUTEHMI_2_INCLUDE_CUTEHMI_NONMOVABLE_HPP
2 #define H_EXTENSIONS_CUTEHMI_2_INCLUDE_CUTEHMI_NONMOVABLE_HPP
3 
4 namespace cutehmi {
5 
9 class NonMovable
10 {
11  protected:
12  NonMovable() = default;
13 
14  private:
15  NonMovable(NonMovable && other) = delete;
16 
17  NonMovable & operator =(NonMovable && other) = delete;
18 };
19 
20 }
21 
22 #endif
23 
24 //(c)C: Copyright © 2018-2019, Michał Policht <michal@policht.pl>. All rights reserved.
25 //(c)C: This file is a part of CuteHMI.
26 //(c)C: CuteHMI is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
27 //(c)C: CuteHMI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
28 //(c)C: You should have received a copy of the GNU Lesser General Public License along with CuteHMI. If not, see <https://www.gnu.org/licenses/>.
cutehmi::NonMovable
Non-movable object.
Definition: NonMovable.hpp:9
cutehmi
Definition: constants.hpp:6
cutehmi::NonMovable::NonMovable
NonMovable()=default