kblib 0.2.3
General utilities library for modern C++
kblib::union_pun< Type, Storage > Class Template Reference

#include <kblib/bits.h>

Public Member Functions

auto operator() () const noexcept -> const_proxy_t
 
auto operator() (const Type val) noexcept -> proxy_t
 
 operator Type () const noexcept
 
auto operator= (const Type val) noexcept -> proxy_t
 

Detailed Description

template<typename Type, auto Storage>
class kblib::union_pun< Type, Storage >

Definition at line 756 of file bits.h.

Member Function Documentation

◆ operator Type()

template<typename Type , auto Storage>
kblib::union_pun< Type, Storage >::operator Type ( ) const
inlinenoexcept

Definition at line 787 of file bits.h.

◆ operator()() [1/2]

template<typename Type , auto Storage>
auto kblib::union_pun< Type, Storage >::operator() ( ) const -> const_proxy_t
inlinenoexcept

Definition at line 780 of file bits.h.

◆ operator()() [2/2]

template<typename Type , auto Storage>
auto kblib::union_pun< Type, Storage >::operator() ( const Type  val) -> proxy_t
inlinenoexcept

Definition at line 783 of file bits.h.

◆ operator=()

template<typename Type , auto Storage>
auto kblib::union_pun< Type, Storage >::operator= ( const Type  val) -> proxy_t
inlinenoexcept

Definition at line 788 of file bits.h.


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