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_templated< ConcreteType, CRTPBaseType, It, TParams > Struct Template Reference

A helper class to define CRTP class hierarchies with an additional boolean template 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_templated< ConcreteType, CRTPBaseType, It, TParams >:
[legend]
Collaboration diagram for m::crtp_boolean_templated< ConcreteType, CRTPBaseType, It, TParams >:
[legend]

Public Types

using actual_type = ConcreteType
 

Public Member Functions

actual_typeactual ()
 
const actual_typeactual () const
 

Private Member Functions

 crtp_boolean_templated ()
 

Private Attributes

friend CRTPBaseType< actual_type, It, TParams... >
 

Detailed Description

template<typename ConcreteType, template< typename, template< bool > typename, typename... > typename CRTPBaseType, template< bool > typename It, typename... TParams>
struct m::crtp_boolean_templated< ConcreteType, CRTPBaseType, It, TParams >

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

Definition at line 79 of file crtp.hpp.

Member Typedef Documentation

◆ actual_type

template<typename ConcreteType , template< typename, template< bool > typename, typename... > typename CRTPBaseType, template< bool > typename It, typename... TParams>
using m::crtp_boolean_templated< ConcreteType, CRTPBaseType, It, TParams >::actual_type = ConcreteType

Definition at line 81 of file crtp.hpp.

Constructor & Destructor Documentation

◆ crtp_boolean_templated()

template<typename ConcreteType , template< typename, template< bool > typename, typename... > typename CRTPBaseType, template< bool > typename It, typename... TParams>
m::crtp_boolean_templated< ConcreteType, CRTPBaseType, It, TParams >::crtp_boolean_templated ( )
inlineprivate

Definition at line 86 of file crtp.hpp.

Member Function Documentation

◆ actual() [1/2]

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

Definition at line 82 of file crtp.hpp.

◆ actual() [2/2]

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

Definition at line 83 of file crtp.hpp.

Field Documentation

◆ CRTPBaseType< actual_type, It, TParams... >

template<typename ConcreteType , template< typename, template< bool > typename, typename... > typename CRTPBaseType, template< bool > typename It, typename... TParams>
friend m::crtp_boolean_templated< ConcreteType, CRTPBaseType, It, TParams >::CRTPBaseType< actual_type, It, TParams... >
private

Definition at line 87 of file crtp.hpp.


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