Boost logo

Boost :

Subject: Re: [boost] [type_traits] is_empty fails on final classes.
From: Sergey Cheban (s.cheban_at_[hidden])
Date: 2013-12-22 14:55:27

22.12.2013 20:38, Jonathan Wakely пишет:

>> 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.

Why not to use std::is_empty for all of them?

Best regards,
Sergey Cheban

Boost list run by bdawes at, gregod at, cpdaniel at, john at