types/description: handle BOOL types in dispatch

This commit is contained in:
Danny Robson 2019-05-14 13:06:24 +10:00
parent a56610e205
commit eb1c97a519

View File

@ -217,6 +217,13 @@ namespace cruft::types {
type_tag<u64> {} type_tag<u64> {}
); );
} }
case category::BOOL:
return std::invoke (
std::forward<FunctionT> (func),
std::forward<Args> (args)...,
type_tag<bool> {}
);
} }
unhandled (descriminator.category); unhandled (descriminator.category);