[Iterator][enable_if] Why use additional type for the enabler?

28 Jul
2010
28 Jul
'10
11:53 a.m.
The iterator facade documention suggests that controlled conversion of iterators between const and mutable variants can be achieved by application of enable_if. Why does this need to involve an additional 'enabler' type, rather than exploiting the default void type of the enable_if template? Thx, - Rob.
5323
Age (days ago)
5323
Last active (days ago)
0 comments
1 participants
participants (1)
-
Robert Jones