diff --git a/include/vsg/ui/UIEvent.h b/include/vsg/ui/UIEvent.h index 4a0b375a77..b1dbdf51d0 100644 --- a/include/vsg/ui/UIEvent.h +++ b/include/vsg/ui/UIEvent.h @@ -33,4 +33,10 @@ namespace vsg }; using Events = std::list>; + + template + std::ostream& operator<<(typename std::enable_if::value, std::ostream>::type& stream, const T& e) + { + return stream << static_cast::type>(e); + } } // namespace vsg