CompetitiveProgrammingCpp

This documentation is automatically generated by online-judge-tools/verification-helper

View the Project on GitHub

:heavy_check_mark: Library/Utility/Ycombinator.hpp

Verified with

Code

#pragma once

#include <utility>

namespace mtd {
  auto Y = [](auto f) {
    return [=](auto&&... args) {
      return f(f, std::forward<decltype(args)>(args)...);
    };
  };
}
#line 2 "Library/Utility/Ycombinator.hpp"

#include <utility>

namespace mtd {
  auto Y = [](auto f) {
    return [=](auto&&... args) {
      return f(f, std::forward<decltype(args)>(args)...);
    };
  };
}
Back to top page