Home
last modified time | relevance | path

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

/oneTBB/test/common/
H A Dconcurrent_lru_cache_common.h102 CounterType* my_p_count; member
104 instance_counter() : my_p_count(new CounterType) { in instance_counter()
105 *my_p_count = 1; in instance_counter()
108 instance_counter(instance_counter const& other) : my_p_count(other.my_p_count) { in instance_counter()
109 ++(*my_p_count); in instance_counter()
113 std::swap(this->my_p_count, other.my_p_count);
118 bool is_last = ! --(*my_p_count); in ~instance_counter()
127 delete(my_p_count); in ~instance_counter()
129 std::size_t instances_count() const { return *my_p_count; } in instances_count()