From bf7e486b8908ed494925ff9643b55ccafbfdc434 Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 14 Jun 2019 23:23:09 +0800 Subject: ... --- include/cru/common/event.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/cru/common/event.hpp') diff --git a/include/cru/common/event.hpp b/include/cru/common/event.hpp index af282c30..144513b6 100644 --- a/include/cru/common/event.hpp +++ b/include/cru/common/event.hpp @@ -79,6 +79,9 @@ inline EventRevoker details::EventBase::CreateRevoker(EventHandlerToken token) { return EventRevoker(resolver_, token); } +// int -> int +// Point -> const Point& +// int& -> int& template using DeducedEventArgs = std::conditional_t< std::is_lvalue_reference_v, TRaw, -- cgit v1.2.3