Subject: Re: [boost] is_base_of<int, int> behaviour.
From: Edward Diener (eldiener_at_[hidden])
Date: 2009-07-03 18:48:49
John Maddock wrote:
> Some time ago we made is_base_of<int,int>::value true, for reasons that
> escape me, and the TR1 followed this.
> However, C++0X makes is_base_of<non_class, non_class>::value to be
> false, which seems all round more logical to me.
Not only that but I would have intuitively thought that is_base_of<>
would always be false if either template parameter is a non-class type.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk