gw
1.0.0
A bunch of small C++ utilities
Loading...
Searching...
No Matches
Public Member Functions
|
List of all members
gw::crtp< T, Derived > Struct Template Reference
CRTP base class.
More...
#include <
crtp.hpp
>
Public Member Functions
constexpr auto
self
() noexcept -> Derived &
Returns a reference to the derived class.
constexpr auto
self
() const noexcept -> Derived const &
Returns a reference to the derived class.
Detailed Description
template<template< typename > class T, typename Derived>
requires std::is_class_v<Derived> && std::same_as<Derived, std::remove_cv_t<Derived>>
struct gw::crtp< T, Derived >
CRTP base class.
The documentation for this struct was generated from the following file:
/home/runner/work/gw/gw/include/gw/
crtp.hpp
gw
crtp
Generated by
1.9.8