"ScL Feature"/
SCL Feature 0.0.1
C++20 composable proxy wrapper with pluggable executor strategy
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
8namespace scl::feature
9{
28 template <typename Refer>
29 using wrapper_guard = detail::wrapper_guard<Refer,
31 ? detail::wrapper_guard_case::wrapper
32 : detail::wrapper_guard_case::value>;
33} // namespace scl::feature
constexpr bool is_wrapper_v
Checks whether Type is a wrapper specialization.
Definition wrapper.h:28
Namespace of the ScL Feature module.
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