Fixed intrusive_ptr and named condition test and added documentation.

[SVN r40454]
This commit is contained in:
Ion Gaztañaga
2007-10-25 06:34:41 +00:00
parent 149a338b10
commit 423cc00342
6 changed files with 93 additions and 89 deletions

View File

@@ -549,7 +549,7 @@ bool test_many_equal_allocation(Allocator &a)
std::size_t n = 0;
for(; it != itend; ++n){
buffers.push_back(*it++);
buffers.push_back(&*it++);
}
if(n != std::size_t((i+1)*2))
return false;
@@ -653,7 +653,7 @@ bool test_many_different_allocation(Allocator &a)
multiallocation_iterator itend;
std::size_t n = 0;
for(; it != itend; ++n){
buffers.push_back(*it++);
buffers.push_back(&*it++);
}
if(n != ArraySize)
return false;