"ScL Feature"
/
SCL Feature
0.0.1
C++20 composable proxy wrapper with pluggable executor strategy
Toggle main menu visibility
Loading...
Searching...
No Matches
wrapper_guard.h
1
#pragma once
2
3
#include <scl/feature/detail/wrapper_guard.h>
4
#include <scl/feature/type_traits/wrapper.h>
5
6
#include <type_traits>
7
8
namespace
scl::feature
9
{
28
template
<
typename
Refer>
29
using
wrapper_guard
= detail::wrapper_guard<Refer,
30
::scl::feature::is_wrapper_v<::std::remove_cvref_t<Refer>
>
31
? detail::wrapper_guard_case::wrapper
32
: detail::wrapper_guard_case::value>;
33
}
// namespace scl::feature
scl::feature::is_wrapper_v
constexpr bool is_wrapper_v
Checks whether Type is a wrapper specialization.
Definition
wrapper.h:28
scl::feature
Namespace of the ScL Feature module.
scl::feature::wrapper_guard
detail::wrapper_guard< Refer, ::scl::feature::is_wrapper_v<::std::remove_cvref_t< Refer > > ? detail::wrapper_guard_case::wrapper :detail::wrapper_guard_case::value > wrapper_guard
RAII guard providing access to the value held by a wrapper or a plain reference.
Definition
wrapper_guard.h:29
src
scl
feature
wrapper_guard.h
Generated by
1.18.0