|
Boost : |
Subject: Re: [boost] [multiindex] internal scope_guard has changed access from public to protected
From: joaquin_at_[hidden]
Date: 2010-05-31 01:52:04
Jeffrey Lee Hellrung, Jr. escribió:
> On 5/30/2010 2:39 AM, Joaquin M Lopez Munoz wrote:
>
>> * make_guard_if<cond> should construct the guard if cond is true
>> (I overlooked the fact that your implementation does the opposite, sorry).
>> I think this is the obvious semantics for anyone reading the construct:
>> make a guard if so and so.
>> * It'd be nice if we have both the following:
>>
>> template<typename IsNull, ...>
>> inline typename null_guard_return<..>::type
>> make_guard_if(...)
>>
>> template<bool is_null, ...>
>> inline typename null_guard_return<..>::type
>> make_guard_if_c(...)
>>
>
> Of course, you mean IsNonNull / is_non_null (or equivalent semantics)
> for the template parameters...
>
Absolutely, this is what I meant, thanks for the correction.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk