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

CRTP base for raw pointer types (ptr, mut_ptr). 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::ptr_base< Self, T, Mutable >

CRTP base for raw pointer types (ptr, mut_ptr).

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

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