rstd 0.1.0
Loading...
Searching...
No Matches
rstd::ref_base< Self, T, Mutable > Struct Template Referenceexport
module rstd.core

CRTP base for reference-like pointer types (ref, mut_ref). More...

Public Types

using value_type = mtp::cond<Mutable, mtp::rm_ext<T>, mtp::add_const<mtp::rm_ext<T>>>
 we only process T[] for value_type
 

Detailed Description

template<typename Self, typename T, bool Mutable>
struct rstd::ref_base< Self, T, Mutable >

CRTP base for reference-like pointer types (ref, mut_ref).

Template Parameters
SelfThe derived type (CRTP).
TThe pointee type.
MutableWhether the reference is mutable.

The documentation for this struct was generated from the following file: