From eb1c97a519d4f5d44391e3ba5610855db5e23de6 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Tue, 14 May 2019 13:06:24 +1000 Subject: [PATCH] types/description: handle BOOL types in dispatch --- types/description.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/types/description.hpp b/types/description.hpp index 716a3067..6916e1cc 100644 --- a/types/description.hpp +++ b/types/description.hpp @@ -217,6 +217,13 @@ namespace cruft::types { type_tag {} ); } + + case category::BOOL: + return std::invoke ( + std::forward (func), + std::forward (args)..., + type_tag {} + ); } unhandled (descriminator.category);