Public Types | Public Member Functions | List of all members
raft_proto::detail::non_owning_buffer< D, T > Struct Template Reference

#include <base.hpp>

Collaboration diagram for raft_proto::detail::non_owning_buffer< D, T >:
Collaboration graph

Public Types

using value_type = std::remove_const_t< T >
 

Public Member Functions

 non_owning_buffer ()
 
 non_owning_buffer (T *ptr)
 
auto * get () const
 

Member Typedef Documentation

◆ value_type

template<device_type D, typename T >
using raft_proto::detail::non_owning_buffer< D, T >::value_type = std::remove_const_t<T>

Constructor & Destructor Documentation

◆ non_owning_buffer() [1/2]

template<device_type D, typename T >
raft_proto::detail::non_owning_buffer< D, T >::non_owning_buffer ( )
inline

◆ non_owning_buffer() [2/2]

template<device_type D, typename T >
raft_proto::detail::non_owning_buffer< D, T >::non_owning_buffer ( T *  ptr)
inline

Member Function Documentation

◆ get()

template<device_type D, typename T >
auto* raft_proto::detail::non_owning_buffer< D, T >::get ( ) const
inline

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