Base class for biteset value proxy. More...
#include <eagine/biteset.hpp>
Public Types | |
using | size_type = typename BiS::size_type |
Alias for size type. | |
using | value_type = typename BiS::value_type |
Alias for element value type. | |
Public Member Functions | |
constexpr auto | is_valid () const noexcept -> bool |
Indicates if this is a valid proxy object that can be used for access. | |
constexpr auto | get () const noexcept -> value_type |
Gets the value of the referenced biteset element. More... | |
void | set (value_type val) noexcept |
Sets the value of the referenced biteset element. More... | |
constexpr | operator value_type () const noexcept |
Implicit conversion to the value type. More... | |
Friends | |
constexpr friend auto | operator== (const self &a, const self &b) noexcept |
Equality comparison. | |
constexpr friend auto | operator!= (const self &a, const self &b) noexcept |
Non-equality comparison. | |
constexpr friend auto | operator< (const self &a, const self &b) noexcept |
Less-than comparison. | |
constexpr friend auto | operator<= (const self &a, const self &b) noexcept |
Less-equal comparison. | |
constexpr friend auto | operator> (const self &a, const self &b) noexcept |
Greater-than comparison. | |
constexpr friend auto | operator>= (const self &a, const self &b) noexcept |
Greater-equal comparison. | |
Base class for biteset value proxy.
|
inlineconstexprnoexcept |
Gets the value of the referenced biteset element.
Referenced by eagine::biteset_value_proxy_base< biteset< N, B, T > >::operator value_type().
|
inlineconstexprnoexcept |
|
inlinenoexcept |
Sets the value of the referenced biteset element.