Basic implementation of a y-combinator.
More...
#include <entt.hpp>
|
| y_combinator (Func recursive) |
| Constructs a y-combinator from a given function. More...
|
|
template<class... Args> |
decltype(auto) | operator() (Args &&... args) const |
| Invokes a y-combinator and therefore its underlying function. More...
|
|
template<class... Args> |
decltype(auto) | operator() (Args &&... args) |
| Invokes a y-combinator and therefore its underlying function. More...
|
|
template<class Func>
struct entt::y_combinator< Func >
Basic implementation of a y-combinator.
- Template Parameters
-
Func | Type of a potentially recursive function. |
◆ y_combinator()
Constructs a y-combinator from a given function.
- Parameters
-
recursive | A potentially recursive function. |
◆ operator()() [1/2]
template<class Func >
template<class... Args>
Invokes a y-combinator and therefore its underlying function.
- Template Parameters
-
Args | Types of arguments to use to invoke the underlying function. |
- Parameters
-
args | Parameters to use to invoke the underlying function. |
- Returns
- Return value of the underlying function, if any.
◆ operator()() [2/2]
template<class Func >
template<class... Args>
Invokes a y-combinator and therefore its underlying function.
- Template Parameters
-
Args | Types of arguments to use to invoke the underlying function. |
- Parameters
-
args | Parameters to use to invoke the underlying function. |
- Returns
- Return value of the underlying function, if any.
The documentation for this struct was generated from the following file:
- D:/CadworkJobs/SoftwareProjekte/Lexocad/LexoGit/Lexocad/lexocad/Base/include/Base/entt.hpp