Oh neat I assumed std::multiplies<void> only had one template parameter like the regular version does. Cool
std::multiplies<void>
It should work with different types
template< class T = void > struct multiplies; (since C++14)
and the void version is the type deducing one std::multiplies<void> is a specialization of std::multiplies with parameter and return type deduced.
Loading collection data...
Oh neat I assumed
std::multiplies<void>
only had one template parameter like the regular version does. CoolIt should work with different types
template< class T = void >
struct multiplies;
(since C++14)
and the void version is the type deducing one
std::multiplies<void> is a specialization of std::multiplies with parameter and return type deduced.