Low-Level Abstraction of Memory Access
llama::accessor::Const Struct Reference

Allows only read access by qualifying the references to memory with const. More...

#include <Accessors.hpp>

Classes

struct  Reference
 

Public Member Functions

template<typename T >
auto operator() (T &r) const -> const T &
 
template<typename ProxyReference , std::enable_if_t< llama::isProxyReference< ProxyReference >, int > = 0>
auto operator() (ProxyReference r) const
 

Detailed Description

Allows only read access by qualifying the references to memory with const.

Definition at line 44 of file Accessors.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<typename ProxyReference , std::enable_if_t< llama::isProxyReference< ProxyReference >, int > = 0>
auto llama::accessor::Const::operator() ( ProxyReference  r) const
inline

Definition at line 92 of file Accessors.hpp.

◆ operator()() [2/2]

template<typename T >
auto llama::accessor::Const::operator() ( T &  r) const -> const T&
inline

Definition at line 48 of file Accessors.hpp.


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