|
Boost : |
From: Brian McNamara (lorgon_at_[hidden])
Date: 2004-02-26 15:20:20
On Thu, Feb 26, 2004 at 09:33:29AM -0600, Max Motovilov wrote:
> Which might not be so bad after all, except for the fact that the operators
> we inject are now as generic as can be (mine were at least limited to
> SomeTemplate<T> arguments), with only SFINAE to protect us from mayhem...
IMO, you are either going to rely on SFINAE or you are not. In this
case, it seems clear that you need enable_if to make the implementation
work. So use it, trust in it, and let broken compilers be darned!
-- -Brian McNamara (lorgon_at_[hidden])
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk