Home
last modified time | relevance | path

Searched refs:string_shared_ptr (Results 1 – 1 of 1) sorted by relevance

/third_party/boost/libs/interprocess/test/
Dshared_ptr_test.cpp155 string_shared_ptr_t string_shared_ptr (scoped_string.get(), in string_shared_ptr_vector_insertion_test() local
159 if(!string_shared_ptr.unique()){ in string_shared_ptr_vector_insertion_test()
166 my_sharedptr_vector.insert(my_sharedptr_vector.begin(), NumElements, string_shared_ptr); in string_shared_ptr_vector_insertion_test()
168 …insert(my_sharedptr_vector.begin() + my_sharedptr_vector.size()/2, NumElements, string_shared_ptr); in string_shared_ptr_vector_insertion_test()
171 if(string_shared_ptr.use_count() != static_cast<long>(my_sharedptr_vector.size()+1)){ in string_shared_ptr_vector_insertion_test()
175 string_weak_ptr_t string_weak_ptr (string_shared_ptr); in string_shared_ptr_vector_insertion_test()
181 string_shared_ptr.reset(); in string_shared_ptr_vector_insertion_test()
186 if(string_shared_ptr.use_count() != 0){ in string_shared_ptr_vector_insertion_test()
191 string_shared_ptr = string_shared_ptr_t(string_weak_ptr); in string_shared_ptr_vector_insertion_test()
192 if(string_shared_ptr.use_count() != static_cast<long>(my_sharedptr_vector.size()+1)){ in string_shared_ptr_vector_insertion_test()
[all …]