mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Member Functions | Private Attributes
m::crtp_boolean< ConcreteType, CRTPBaseType, B, TParams > Struct Template Reference

A helper class to define CRTP class hierarchies with an additional boolean template parameter (this is often used for iterators taking a boolean template parameter to decide on constness). More...

#include <crtp.hpp>

Inheritance diagram for m::crtp_boolean< ConcreteType, CRTPBaseType, B, TParams >:
[legend]
Collaboration diagram for m::crtp_boolean< ConcreteType, CRTPBaseType, B, TParams >:
[legend]

Public Types

using actual_type = ConcreteType
 

Public Member Functions

actual_typeactual ()
 
const actual_typeactual () const
 

Private Member Functions

 crtp_boolean ()
 

Private Attributes

friend CRTPBaseType< ConcreteType, B, TParams... >
 

Detailed Description

template<typename ConcreteType, template< typename, bool, typename... > typename CRTPBaseType, bool B, typename... TParams>
struct m::crtp_boolean< ConcreteType, CRTPBaseType, B, TParams >

A helper class to define CRTP class hierarchies with an additional boolean template parameter (this is often used for iterators taking a boolean template parameter to decide on constness).

Definition at line 64 of file crtp.hpp.

Member Typedef Documentation

◆ actual_type

template<typename ConcreteType , template< typename, bool, typename... > typename CRTPBaseType, bool B, typename... TParams>
using m::crtp_boolean< ConcreteType, CRTPBaseType, B, TParams >::actual_type = ConcreteType

Definition at line 66 of file crtp.hpp.

Constructor & Destructor Documentation

◆ crtp_boolean()

template<typename ConcreteType , template< typename, bool, typename... > typename CRTPBaseType, bool B, typename... TParams>
m::crtp_boolean< ConcreteType, CRTPBaseType, B, TParams >::crtp_boolean ( )
inlineprivate

Definition at line 71 of file crtp.hpp.

Member Function Documentation

◆ actual() [1/2]

template<typename ConcreteType , template< typename, bool, typename... > typename CRTPBaseType, bool B, typename... TParams>
actual_type & m::crtp_boolean< ConcreteType, CRTPBaseType, B, TParams >::actual ( )
inline

Definition at line 67 of file crtp.hpp.

◆ actual() [2/2]

template<typename ConcreteType , template< typename, bool, typename... > typename CRTPBaseType, bool B, typename... TParams>
const actual_type & m::crtp_boolean< ConcreteType, CRTPBaseType, B, TParams >::actual ( ) const
inline

Definition at line 68 of file crtp.hpp.

Field Documentation

◆ CRTPBaseType< ConcreteType, B, TParams... >

template<typename ConcreteType , template< typename, bool, typename... > typename CRTPBaseType, bool B, typename... TParams>
friend m::crtp_boolean< ConcreteType, CRTPBaseType, B, TParams >::CRTPBaseType< ConcreteType, B, TParams... >
private

Definition at line 72 of file crtp.hpp.


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