|
Boost Users : |
Subject: Re: [Boost-users] [boost] Boost.Local Review (Nov 10, 2011 to Nov 19, 2011)
From: Jeffrey Lee Hellrung, Jr. (jeffrey.hellrung_at_[hidden])
Date: 2011-11-18 13:34:03
Thanks for the review Nat! Just one comment:
On Fri, Nov 18, 2011 at 9:29 AM, Nat Linden <nat_at_[hidden]> wrote:
> On Thu, Nov 10, 2011 at 12:52 AM, Jeffrey Lee Hellrung, Jr.
> <jeffrey.hellrung_at_[hidden]> wrote:
>
[...]
> > - Likewise, Lorenzo is proposing to add BOOST_IDENTITY_VALUE to
> boost/utility. See
> https://svn.boost.org/svn/boost/sandbox/local/libs/local/doc/html/BOOST_IDENTITY_VALUE.html
>
> This is one point on which the documentation is not clear. For an
> expression that evaluates to a runtime value, what's the benefit of
> (e.g. from the cited page) BOOST_IDENTITY_VALUE((key_sizeof<int,
> double>::value)) vs. the simpler and more obvious extra set of
> parentheses: (key_sizeof<int, double>::value) ?
>
Uh, seems like a good point that I definitely overlooked! Lorenzo, do you
have a use case where the extra set of parentheses posed a problem?
- Jeff
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net