This documentation is automatically generated by competitive-verifier/competitive-verifier
#include "tools/nop_monoid.hpp"
struct nop_monoid {
using T = std::monostate;
static T op(T, T) {
return {};
}
static T e() {
return {};
}
};
It is a dummy monoid for tools::lazy_segtree
and other variants.
#ifndef TOOLS_NOP_MONOID_HPP
#define TOOLS_NOP_MONOID_HPP
#include <variant>
namespace tools {
struct nop_monoid {
using T = ::std::monostate;
static T op(T, T) {
return {};
}
static T e() {
return {};
}
};
}
#endif
#line 1 "tools/nop_monoid.hpp"
#include <variant>
namespace tools {
struct nop_monoid {
using T = ::std::monostate;
static T op(T, T) {
return {};
}
static T e() {
return {};
}
};
}