Not defined Operator type.
class Program {
static Main() {
_ = new LazySegtree<int, int, OpLazy>(1);
}
}
Define Operator type.
class Program {
static Main() {
_ = new LazySegtree<int, int, OpLazy>(1);
}
}
struct OpLazy : ILazySegtreeOperator<int, int>
{
public int Identity => default;
public int FIdentity => default;
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public int Composition(int f, int g)
{
return default;
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public int Mapping(int f, int x)
{
return default;
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public int Operate(int x, int y)
{
return default;
}
}