CP-Algorithms Library

This documentation is automatically generated by competitive-verifier/competitive-verifier

View the Project on GitHub cp-algorithms/cp-algorithms-aux

:heavy_check_mark: cp-algo/structures/segtree/metas/base.hpp

Required by

Verified with

Code

#ifndef CP_ALGO_STRUCTURES_SEGMENT_TREE_METAS_BASE_HPP
#define CP_ALGO_STRUCTURES_SEGMENT_TREE_METAS_BASE_HPP
#include <cstddef>
namespace cp_algo::structures::segtree::metas {
    template<typename derived_meta>
    struct base_meta {
        using meta = derived_meta;
        virtual void pull(meta const&, meta const&, size_t, size_t) {};
        virtual void push(meta*, meta*, size_t, size_t) {};
    };
}
#endif // CP_ALGO_STRUCTURES_SEGMENT_TREE_METAS_BASE_HPP
#line 1 "cp-algo/structures/segtree/metas/base.hpp"


#include <cstddef>
namespace cp_algo::structures::segtree::metas {
    template<typename derived_meta>
    struct base_meta {
        using meta = derived_meta;
        virtual void pull(meta const&, meta const&, size_t, size_t) {};
        virtual void push(meta*, meta*, size_t, size_t) {};
    };
}

Back to top page