Blaze 3.9
List of all members
blaze::DefaultProxy< PT, RT > Class Template Reference

Default proxy backend for built-in and alternate user-specific class types. More...

#include <DefaultProxy.h>

Public Member Functions

Conversion operators
BLAZE_ALWAYS_INLINE PT & operator~ () noexcept
 Conversion operator for non-constant proxies. More...
 
BLAZE_ALWAYS_INLINE const PT & operator~ () const noexcept
 Conversion operator for constant proxies. More...
 
BLAZE_ALWAYS_INLINE PT & operator* () noexcept
 Conversion operator for non-constant proxies. More...
 
BLAZE_ALWAYS_INLINE const PT & operator* () const noexcept
 Conversion operator for constant proxies. More...
 

Protected Member Functions

Special member functions
 DefaultProxy ()=default
 
 DefaultProxy (const DefaultProxy &)=default
 
 DefaultProxy (DefaultProxy &&)=default
 
 ~DefaultProxy ()=default
 
DefaultProxyoperator= (const DefaultProxy &)=default
 
DefaultProxyoperator= (DefaultProxy &&)=default
 

Detailed Description

template<typename PT, typename RT>
class blaze::DefaultProxy< PT, RT >

Default proxy backend for built-in and alternate user-specific class types.

The DefaultProxy class serves as a backend for the Proxy class. It is used in case the data type represented by the proxy is a built-in or alternate user-specific class type. This proxy does not augment the Proxy interface by any additional interface.

Member Function Documentation

◆ operator*() [1/2]

template<typename PT , typename RT >
BLAZE_ALWAYS_INLINE const PT & blaze::DefaultProxy< PT, RT >::operator*
noexcept

Conversion operator for constant proxies.

Returns
Constant reference to the actual type of the proxy.

This operator performs the CRTP-based type-safe downcast to the actual type PT of the proxy. It will return a constant reference to the actual type PT.

◆ operator*() [2/2]

template<typename PT , typename RT >
BLAZE_ALWAYS_INLINE PT & blaze::DefaultProxy< PT, RT >::operator*
noexcept

Conversion operator for non-constant proxies.

Returns
Mutable reference to the actual type of the proxy.

This operator performs the CRTP-based type-safe downcast to the actual type PT of the proxy. It will return a mutable reference to the actual type PT.

◆ operator~() [1/2]

template<typename PT , typename RT >
BLAZE_ALWAYS_INLINE const PT & blaze::DefaultProxy< PT, RT >::operator~
noexcept

Conversion operator for constant proxies.

Returns
Constant reference to the actual type of the proxy.

This operator performs the CRTP-based type-safe downcast to the actual type PT of the proxy. It will return a constant reference to the actual type PT.

◆ operator~() [2/2]

template<typename PT , typename RT >
BLAZE_ALWAYS_INLINE PT & blaze::DefaultProxy< PT, RT >::operator~
noexcept

Conversion operator for non-constant proxies.

Returns
Mutable reference to the actual type of the proxy.

This operator performs the CRTP-based type-safe downcast to the actual type PT of the proxy. It will return a mutable reference to the actual type PT.


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