Patch for the allocator.

Dhruv Matani dhruvbird@HotPOP.com
Fri Mar 26 16:12:00 GMT 2004


On Fri, 2004-03-26 at 18:18, Paolo Carlini wrote:
> Dhruv Matani wrote:
> 
> >>      class _Ffit_finder 
> >>	: public std::unary_function<typename std::pair<_Tp, _Tp>, bool> {
> >>    
> >>
> ':' must be aligned with 'c' (many instances). Watch the open brace
> 
> >>      template <typename _Tp>
> >>      bool
> >>      operator()(_Tp* __pt, _Tp const& __crt) const throw()
> >>    
> >>
> Always indent after 'template'.
> 
> >>      	unsigned int *__puse_count = reinterpret_cast<unsigned int*>
> >>	  (_S_mem_blocks[_S_last_request._M_where()].first) -
> >>
> Always split before the operator (a few instances).

Thanks for all the input and help!

Here's a version that attempts to fix all the above defects that you
have mentioned.

I must say that it does look a prettier picture!






-- 
	-Dhruv Matani.
http://www.geocities.com/dhruvbird/

Proud to be a Vegetarian.
http://www.vegetarianstarterkit.com/
http://www.vegkids.com/vegkids/index.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bitmap_allocator.h
Type: text/x-c-header
Size: 27121 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040326/2a9dcdd2/attachment.bin>


More information about the Libstdc++ mailing list