Helios Engine
A modular ECS based data-oriented C++23 game engine framework
Loading...
Searching...
No Matches
helios::utils::details::DeferHelper Struct Reference

Helper struct for the HELIOS_DEFER macro to enable inline lambda syntax. More...

#include <defer.hpp>

Public Member Functions

template<std::invocable F>
constexpr auto operator+ (F &&func) noexcept(std::is_nothrow_constructible_v< Defer< std::remove_cvref_t< F > >, F >) -> Defer< std::remove_cvref_t< F > >

Detailed Description

Helper struct for the HELIOS_DEFER macro to enable inline lambda syntax.

Definition at line 56 of file defer.hpp.

Member Function Documentation

◆ operator+()

template<std::invocable F>
auto helios::utils::details::DeferHelper::operator+ ( F && func) -> Defer< std::remove_cvref_t< F > >
inlineconstexprnoexcept

Definition at line 58 of file defer.hpp.