Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::XorMonoid< T > Struct Template Reference

XOR monoid: identity = 0, combine = a ^ b. More...

#include <tpl_link_cut_tree.H>

Static Public Member Functions

static constexpr T identity () noexcept
 
static constexpr T combine (const T &a, const T &b) noexcept
 

Detailed Description

template<typename T>
struct Aleph::XorMonoid< T >

XOR monoid: identity = 0, combine = a ^ b.

Definition at line 180 of file tpl_link_cut_tree.H.

Member Function Documentation

◆ combine()

template<typename T >
static constexpr T Aleph::XorMonoid< T >::combine ( const T a,
const T b 
)
inlinestaticconstexprnoexcept

Definition at line 184 of file tpl_link_cut_tree.H.

◆ identity()

template<typename T >
static constexpr T Aleph::XorMonoid< T >::identity ( )
inlinestaticconstexprnoexcept

Definition at line 182 of file tpl_link_cut_tree.H.


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