Boost logo

Boost :

From: John Maddock (jz.maddock_at_[hidden])
Date: 2024-01-25 18:28:40


On 25/01/2024 17:57, Peter Dimov via Boost wrote:
> John Maddock wrote:
>> On the specifics: I agree with the comment about the constants in the headers,
>> while these could hidden inside inline functions (which would then presumably
>> get merged at link time), I see no good reason not to declare them extern and
>> move to a .cpp file, given that we have separate source anyway.
> I haven't looked at the specific constants in question, but if they are used by
> the constexpr integral functions, you can't put them into a .cpp file.

Good point!

John.


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