|
Boost : |
Subject: Re: [boost] Requirements: min and max macros
From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2017-02-07 16:32:13
On Tue, Feb 7, 2017 at 11:27 AM, Paul A. Bristow
<pbristow_at_[hidden]> wrote:
> PS That this question was asked suggests that our tools for finding the right documentation are still lacking (or does this not answer the original poster's question?)
The tools are fine, its just that the docs didn't specifically address
the case where min and max are called with explicit template
arguments, e.g.:
std::min<std::size_t>(x, y);
However, as Andrey pointed out:
>min and max are function-like macros. The code above is not affected by those.
That answers my question. It might be worth adding a sentence
describing this case to
http://www.boost.org/development/requirements.html to clarify.
Regards
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk