From 297232d21594b138bb368a42b5b0d085ff9ed6aa Mon Sep 17 00:00:00 2001 From: rtk0c Date: Thu, 19 Oct 2023 22:50:07 -0700 Subject: The great renaming: switch to "module style" --- source/10-common/YCombinator.hpp | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 source/10-common/YCombinator.hpp (limited to 'source/10-common/YCombinator.hpp') diff --git a/source/10-common/YCombinator.hpp b/source/10-common/YCombinator.hpp deleted file mode 100644 index 2da06c8..0000000 --- a/source/10-common/YCombinator.hpp +++ /dev/null @@ -1,14 +0,0 @@ -#pragma once - -template -struct YCombinator { - // NOTE: implicit constructor allows initializing this - Func func; - - template - decltype(auto) operator()(Ts&&... args) const { - // NOTE: static_cast(args)... is equivalent to std::forward(args)... - // written this way so that we don't have to include , as well as reducing template instanciations to help compile time - return func(*this, static_cast(args)...); - } -}; -- cgit v1.2.3-70-g09d2