13 #ifndef TINYMPL_NEGATE_HPP
14 #define TINYMPL_NEGATE_HPP
16 #include <type_traits>
26 template<
class A>
struct negate : std::integral_constant<typename A::value_type, - A::value> {};
30 #endif // TINYMPL_NEGATE_HPP
Returns the opposite of the compile time constant A.
Definition: negate.hpp:26