Subject: Re: [boost] [dynamic_bitset] Using of GCC built-in functions may increase performance of some methods
From: degski (degski_at_[hidden])
Date: 2018-08-26 04:55:46
On Sun, 26 Aug 2018 at 04:42, Marshall Clow via Boost <boost_at_[hidden]>
> The MSVC intrinsics are missing (for my purposes) important things - like
> "noexcept" and "constexpr".
They are C-"functions", they "are" noexcept, you can mark any C++-function
containing calls to those intrinsics noexcept, and you won't be lying. The
constexpr bit depends on what the C++-compiler does with those intrinsic
calls, with some exceptions, most intrinsics map to exactly one assembler
instruction, i.e. there is no reason why they could not be constexpr (but
that is a C++-concept).
-- *âIf something cannot go on forever, it will stop" - Herbert Stein* *âNo, it isnât truth. Truth isnât truth" - Rudolph W. L. Giuliani*
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk