Files
revng-revng/include/revng/ADT/RecursiveCoroutine-fallback.h
Lauri Vasama 086dc9fbc9 Remove RecursiveCoroutine operator*
* Add rc_eval to force evaluation.
2025-10-31 17:23:52 +01:00

15 lines
250 B
C++

#pragma once
//
// This file is distributed under the MIT License. See LICENSE.md for details.
//
template<typename ReturnT = void>
using RecursiveCoroutine = ReturnT;
#define rc_return return
#define rc_recur
#define rc_eval(...) (__VA_ARGS__)