Loading [MathJax]/extensions/tex2jax.js
Tatooine
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages Concepts
Public Types | Public Member Functions | List of all members
tatooine::crtp< Derived > Struct Template Reference

#include <crtp.h>

Inheritance diagram for tatooine::crtp< Derived >:
[legend]

Public Types

using derived_type = Derived
 

Public Member Functions

constexpr auto as_derived () -> derived_type &
 returns casted as_derived data More...
 
constexpr auto as_derived () const -> derived_type const &
 returns casted as_derived data More...
 

Member Typedef Documentation

◆ derived_type

template<typename Derived >
using tatooine::crtp< Derived >::derived_type = Derived

Member Function Documentation

◆ as_derived() [1/2]

template<typename Derived >
constexpr auto tatooine::crtp< Derived >::as_derived ( ) -> derived_type&
inlineconstexpr

returns casted as_derived data

◆ as_derived() [2/2]

template<typename Derived >
constexpr auto tatooine::crtp< Derived >::as_derived ( ) const -> derived_type const&
inlineconstexpr

returns casted as_derived data


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