Boost logo

Boost :

Subject: Re: [boost] [config][type_traits] Support for final keyword in Boost?
From: Stephan T. Lavavej (stl_at_[hidden])
Date: 2014-08-16 14:40:07


[Marcel Raad]
> MSVC 14 has std::is_final, implemented with
> (__is_class || __is_union) && (__is_final || __is_sealed).

Note that I've tweaked its definition after CTP1, dropping __is_sealed. Also, I've asked the compiler team to change __is_final's implementation so I can drop the __is_class/__is_union check, but that won't affect users so it's a low priority issue. (My goal is for all type traits to be either library-only, or implemented by directly using a compiler hook without extra layers of checks.)

STL


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