Public Member Functions | List of all members
rmm::mr::detail::crtp< T > Struct Template Reference

A CRTP helper function. More...

#include <stream_ordered_memory_resource.hpp>

Public Member Functions

T & underlying ()
 
T const & underlying () const
 

Detailed Description

template<typename T>
struct rmm::mr::detail::crtp< T >

A CRTP helper function.

https://www.fluentcpp.com/2017/05/19/crtp-helper/

Does two things:

  1. Makes "crtp" explicit in the inheritance structure of a CRTP base class.
  2. Avoids having to static_cast in a lot of places
Template Parameters
TThe derived class in a CRTP hierarchy

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