blob: cde555f30134f81901945fe21795b8969a0f0f4c (
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 Interface get() const noexcept = 0;
};
|