Phil Edwards - Indentation fixes for stl_alloc.h (original) (raw)

This is the mail archive of the libstdc++@gcc.gnu.orgmailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

In the process of playing with allocators, I noticed some oddities in stl_alloc.h. These bring them into line with what I think C++STYLE says, but I'd like review and approval before I check them in.

Index: include/bits/stl_alloc.h

/** @@ -479,7 +480,7 @@ { __result = _S_start_free; _S_start_free += __total_bytes;

@@ -487,7 +488,7 @@ __total_bytes = __size * __nobjs; __result = _S_start_free; _S_start_free += __total_bytes;

@@ -521,7 +522,7 @@ __my_free_list = __p -> _M_free_list_link; _S_start_free = (char)__p; _S_end_free = _S_start_free + __i;

@@ -533,7 +534,7 @@ } _S_heap_size += __bytes_to_get; _S_end_free = _S_start_free + __bytes_to_get;

@@ -554,7 +555,7 @@ int __i;

   if (1 == __nobjs)

@@ -771,7 +772,7 @@ // __p is not permitted to be a null pointer. void deallocate(pointer __p, size_type __n)

@@ -784,7 +785,7 @@ };

template


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]