blob: e22ea7f2f095972e3583abb4b16a306a3906e971 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#pragma once
#include <memory>
// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions)
class IGenericWrapper
{
public:
virtual ~IGenericWrapper() noexcept = default;
};
template <class Interface>
class IWrapper : public IGenericWrapper
{
public:
[[nodiscard]] virtual auto get() const noexcept -> Interface = 0;
};
|