diff options
author | crupest <crupest@outlook.com> | 2019-06-14 23:23:09 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-06-14 23:23:09 +0800 |
commit | bf7e486b8908ed494925ff9643b55ccafbfdc434 (patch) | |
tree | 87b512202a10cbf97224ab1ef670be168fe317ca /include/cru/common | |
parent | 5ec370e5f91ad8b5ed7717eb93f4e3240ea4e784 (diff) | |
download | cru-bf7e486b8908ed494925ff9643b55ccafbfdc434.tar.gz cru-bf7e486b8908ed494925ff9643b55ccafbfdc434.tar.bz2 cru-bf7e486b8908ed494925ff9643b55ccafbfdc434.zip |
...
Diffstat (limited to 'include/cru/common')
-rw-r--r-- | include/cru/common/event.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 <typename TRaw> using DeducedEventArgs = std::conditional_t< std::is_lvalue_reference_v<TRaw>, TRaw, |