Skip to content

Implement Clone for LazySegtree and discuss the Debug Implementation #143

Open
@NotLeonian

Description

@NotLeonian

Implement the Clone trait for LazySegtree.
Since both MapMonoid::F and <F::M as Monoid>::S have the Clone constraint, it can be derived.

Additionally, LazySegtree already has a Debug implementation, but there is a comment saying // TODO is it useful? .
It may be necessary to discuss whether to implement Debug for FenwickTree and Segtree based on this implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions