Patch for the allocator.
Paolo Carlini
pcarlini@suse.de
Fri Mar 26 15:47:00 GMT 2004
Dhruv Matani wrote:
> From the above page I assume that split means the star/splat
> character(*)?
>
> Sorry if I'm being thick, but sometimes, I just don't get certain
> things!
Split means, roughly, "divide into two or more parts". Example:
Right:
((a - b)
/ (c + d))
Wrong:
((a - b) /
(c + d))
In your code you have, f.i.:
if (std::less_equal<pointer>()(_M_ptr_value, __bp.second &&
std::greater_equal<pointer>()(_M_ptr_value, __bp.first))
whereas you should prefer:
if (std::less_equal<pointer>()(_M_ptr_value, __bp.second
&& std::greater_equal<pointer>()(_M_ptr_value, __bp.first))
Agreed?
Paolo.
More information about the Libstdc++
mailing list