22 Dec
2013
22 Dec
'13
7:55 p.m.
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