![]() |
Blaze 3.9
|
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 | |
DefaultProxy & | operator= (const DefaultProxy &)=default |
DefaultProxy & | operator= (DefaultProxy &&)=default |
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.
|
noexcept |
Conversion operator for constant proxies.
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.
|
noexcept |
Conversion operator for non-constant proxies.
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.
|
noexcept |
Conversion operator for constant proxies.
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.
|
noexcept |
Conversion operator for non-constant proxies.
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.