maomao90's Library
A C++20 library for competitive programming.
Loading...
Searching...
No Matches
maomao90::NoLazy< T > Struct Template Reference

Lazy that does not apply any updates. More...

#include <standard_monoids.hpp>

Public Member Functions

NoLazy merge (const NoLazy &o) const
 
apply (const T &o, const int len) const
 

Static Public Member Functions

static NoLazy id ()
 

Detailed Description

template<typename T>
struct maomao90::NoLazy< T >

Lazy that does not apply any updates.

Template Parameters
Tthe monoid to be used with the lazy.

Member Function Documentation

◆ id()

template<typename T>
static NoLazy maomao90::NoLazy< T >::id ( )
inlinestatic

◆ merge()

template<typename T>
NoLazy maomao90::NoLazy< T >::merge ( const NoLazy< T > & o) const
inline

◆ apply()

template<typename T>
T maomao90::NoLazy< T >::apply ( const T & o,
const int len ) const
inline

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