opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
liboscar
concepts
dereferences_to.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <concepts>
4
5
namespace
osc
6
{
7
// Satisfied if `T` dereferences to something that is convertible to `DerefType`.
8
template
<
typename
T,
typename
DerefType>
9
concept
DereferencesTo
=
requires
(
T
ptr
) {
10
{*
ptr
} -> std::convertible_to<DerefType>;
11
};
12
}
osc::DereferencesTo
Definition
dereferences_to.h:9
osc
Definition
custom_decoration_generator.h:5
osc::Key::T
@ T
osc::to
constexpr U to(T &&value)
Definition
conversion.h:56
Generated by
1.9.8