SBN_INTERNAL_UNWRAP
SBN_INTERNAL_OPERATOR
SBN_INTERNAL_WRAP
using modular_weight_array = basic_weight_array< std::array< weight_type, 2 > >
using base_type = std::array< T, 2 >
using weight_type = basic_weight< sys::u32 >
using weight_array = basic_weight_array< weight_type >
template <class T>
class sbn::basic_weight
Types
  • using value_type = T
Methods
Friends
  • operator>>
  • operator<<
template <class T>
struct std::hash< sbn::basic_weight< T > >
Base classes
  • public std::hash< T >
Methods
SBN_INTERNAL_UNWRAP(>=)
operator<<(kernel_buffer & out, const weight_array & rhs) -> kernel_buffer &
operator>>(kernel_buffer & in, weight_array & rhs) -> kernel_buffer &
template <class T>
operator+(basic_weight< T > a, basic_weight< T > b) -> basic_weight< T >
template <class T>
operator/(basic_weight< T > a, basic_weight< T > b) -> basic_weight< T >
~basic_weight_array()
SBN_INTERNAL_OPERATOR(+)
SBN_INTERNAL_WRAP(-)
basic_weight_array(basic_weight_array &&)
template <class T>
operator-(basic_weight< T > a, basic_weight< T > b) -> basic_weight< T >
SBN_INTERNAL_UNWRAP()
SBN_INTERNAL_OPERATOR(/) -> SBN_INTERNAL_OPERATOR *
SBN_INTERNAL_UNWRAP(!)
size(T... args) -> T
basic_weight_array()
operator=(const basic_weight_array &) -> basic_weight_array &
SBN_INTERNAL_OPERATOR(-)
SBN_INTERNAL_WRAP(/) -> SBN_INTERNAL_WRAP *
SBN_INTERNAL_OPERATOR(+)
SBN_INTERNAL_UNWRAP(<=)
template <class T>
operator%(basic_weight< T > a, basic_weight< T > b) -> basic_weight< T >
operator<<(std::ostream & out, const modular_weight_array & rhs) -> std::ostream &
basic_weight_array(const basic_weight_array &)
template <class T>
operator*(basic_weight< T > a, basic_weight< T > b) -> basic_weight< T >
SBN_INTERNAL_OPERATOR(-)
SBN_INTERNAL_OPERATOR(/) -> SBN_INTERNAL_OPERATOR *
basic_weight_array(T a, T b)explicit
SBN_INTERNAL_WRAP(+)
operator<<(std::ostream & out, const weight_array & rhs) -> std::ostream &