aboutsummaryrefslogtreecommitdiff
path: root/include/cru/common/base.hpp
blob: d72b97f261fbe7e2df999a4c79124361b0a3efe2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once
#include "pre_config.hpp"

namespace cru {
class Object {
 public:
  Object() = default;
  Object(const Object&) = default;
  Object& operator=(const Object&) = default;
  Object(Object&&) = default;
  Object& operator=(Object&&) = default;
  virtual ~Object() = default;
};

struct Interface {
  Interface() = default;
  Interface(const Interface& other) = delete;
  Interface(Interface&& other) = delete;
  Interface& operator=(const Interface& other) = delete;
  Interface& operator=(Interface&& other) = delete;
  virtual ~Interface() = default;
};
}  // namespace cru