Boost logo

Boost :

Subject: Re: [boost] [type_traits] is_empty fails on final classes.
From: Jonathan Wakely (jwakely.boost_at_[hidden])
Date: 2013-12-22 11:38:31


On 22 December 2013 13:53, yuri kilochek wrote:
>
> Now, is it at all possible to implement conforming is_empty without
> resorting to compiler magic that are intrinsics?

No, I don't think it's possible. On the plus side, any compiler that
supports the 'final' keyword must provide some sort of intrinsic for
its own std::lib, so Boost can use the relevant intrinsic for each
such compiler.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk