proconlib

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

View the Project on GitHub anqooqie/proconlib

:heavy_check_mark: Dummy mapping (tools/nop_mapping.hpp)

template <typename F, typename S>
S nop_mapping(F f, S e);

It is a dummy mapping function for tools::lazy_segtree and other variants. It returns $e$ regardless of $f$.

Constraints

Time Complexity

License

Author

Required by

Verified with

Code

#ifndef TOOLS_NOP_MAPPING_HPP
#define TOOLS_NOP_MAPPING_HPP

namespace tools {
  template <typename F, typename S>
  S nop_mapping(F, const S& e) {
    return e;
  }
}

#endif
#line 1 "tools/nop_mapping.hpp"



namespace tools {
  template <typename F, typename S>
  S nop_mapping(F, const S& e) {
    return e;
  }
}


Back to top page