Initial commit - restart from existing code
This commit is contained in:
20
lib/All/entt/test/common/non_movable.h
Normal file
20
lib/All/entt/test/common/non_movable.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef ENTT_COMMON_NON_MOVABLE_H
|
||||
#define ENTT_COMMON_NON_MOVABLE_H
|
||||
|
||||
namespace test {
|
||||
|
||||
struct non_movable {
|
||||
non_movable() = default;
|
||||
|
||||
non_movable(const non_movable &) = default;
|
||||
non_movable(non_movable &&) = delete;
|
||||
|
||||
non_movable &operator=(const non_movable &) = default;
|
||||
non_movable &operator=(non_movable &&) = delete;
|
||||
|
||||
int value{};
|
||||
};
|
||||
|
||||
} // namespace test
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user