diff --git a/types/traits.hpp b/types/traits.hpp index 8a4e77b4..4c47e119 100644 --- a/types/traits.hpp +++ b/types/traits.hpp @@ -20,6 +20,7 @@ #ifndef __UTIL_TYPES_TRAITS_HPP #define __UTIL_TYPES_TRAITS_HPP +#include #include //----------------------------------------------------------------------------- @@ -70,4 +71,23 @@ template struct is_lossless_cast : std::enable_if< std::true_type >::value { }; + +//----------------------------------------------------------------------------- +template +struct func_traits : public func_traits +{ }; + + +template +struct func_traits { + typedef R return_type; +}; + + +template +struct func_traits { + typedef R return_type; +}; + + #endif