sparrow 0.3.0
Loading...
Searching...
No Matches
sparrow::impl Namespace Reference

Classes

struct  get_inner_reference
 

Concepts

concept  both_constructible_from_cref
 Concepts used to disambiguate the nullable class constructors.
 
concept  both_convertible_from_cref
 
concept  constructible_from_one
 
concept  convertible_from_one
 
concept  initializable_from_one
 
concept  initializable_from_refs
 
concept  assignable_from_one
 
concept  assignable_from_refs
 
concept  both_constructible_from_cond_ref
 
concept  both_convertible_from_cond_ref
 
concept  both_assignable_from_cref
 
concept  both_assignable_from_cond_ref
 

Typedefs

template<class C, bool is_const>
using get_inner_reference_t = typename get_inner_reference<C, is_const>::type
 
template<class T, class U>
using conditional_ref_t = std::conditional_t<std::is_reference_v<T>, const std::decay_t<U>&, std::decay_t<U>&&>
 

Variables

template<class T>
static constexpr bool is_nullable_v = mpl::is_type_instance_of_v<T, nullable>
 

Typedef Documentation

◆ conditional_ref_t

template<class T, class U>
using sparrow::impl::conditional_ref_t = std::conditional_t<std::is_reference_v<T>, const std::decay_t<U>&, std::decay_t<U>&&>

Definition at line 189 of file nullable.hpp.

◆ get_inner_reference_t

template<class C, bool is_const>
using sparrow::impl::get_inner_reference_t = typename get_inner_reference<C, is_const>::type

Definition at line 829 of file data_type.hpp.

Variable Documentation

◆ is_nullable_v

template<class T>
bool sparrow::impl::is_nullable_v = mpl::is_type_instance_of_v<T, nullable>
staticconstexpr

Definition at line 216 of file nullable.hpp.