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/data_structures/treap/metas/base.hpp

Depends on

Required by

Verified with

Code

#ifndef CP_ALGO_DATA_STRUCTURES_TREAP_METAS_BASE_HPP
#define CP_ALGO_DATA_STRUCTURES_TREAP_METAS_BASE_HPP
#include "../common.hpp"
#include <functional>
#include <algorithm>
#include <cstdint>
#define _safe_meta(i, op) _safe(i, _meta.op)
namespace cp_algo::data_structures::treap::metas {
    struct base_meta {
        void pull(auto const, auto const){}
        void push(auto&, auto&){}
    };
}
#endif // CP_ALGO_DATA_STRUCTURES_TREAP_METAS_BASE_HPP
#line 1 "cp-algo/data_structures/treap/metas/base.hpp"


#line 1 "cp-algo/data_structures/treap/common.hpp"


#define _safe(t, op) (t ? t->op : typename std::remove_reference_t<decltype(t->op)>())

#line 4 "cp-algo/data_structures/treap/metas/base.hpp"
#include <functional>
#include <algorithm>
#include <cstdint>
#define _safe_meta(i, op) _safe(i, _meta.op)
namespace cp_algo::data_structures::treap::metas {
    struct base_meta {
        void pull(auto const, auto const){}
        void push(auto&, auto&){}
    };
}

Back to top page