Re-enable some specializations for Assignment<.,Product<>>

This commit is contained in:
Gael Guennebaud
2016-07-05 22:58:14 +02:00
parent 155d8d8603
commit 367ef66af3
3 changed files with 12 additions and 8 deletions

View File

@@ -145,7 +145,7 @@ struct is_convertible
/** \internal Allows to enable/disable an overload
* according to a compile time condition.
*/
template<bool Condition, typename T> struct enable_if;
template<bool Condition, typename T=void> struct enable_if;
template<typename T> struct enable_if<true,T>
{ typedef T type; };