Boost logo

Boost :

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, gregod at, cpdaniel at, john at