#include <tracked.h>
Public Member Functions | |
size_t | num_copies () |
size_t | num_moves () |
Tracked & | operator= (const Tracked &that) |
Tracked & | operator= (Tracked &&that) |
Tracked () | |
Tracked (const T &val) | |
Tracked (const Tracked &that) | |
Tracked (Tracked &&that) | |
const T & | val () const |
Private Attributes | |
std::shared_ptr< size_t > | num_copies_ = std::make_shared<size_t>(0) |
std::shared_ptr< size_t > | num_moves_ = std::make_shared<size_t>(0) |
T | val_ |
Friends | |
bool | operator!= (const Tracked &a, const Tracked &b) |
bool | operator== (const Tracked &a, const Tracked &b) |
absl::container_internal::Tracked< T >::Tracked | ( | ) | [inline] |
absl::container_internal::Tracked< T >::Tracked | ( | const T & | val | ) | [inline] |
absl::container_internal::Tracked< T >::Tracked | ( | const Tracked< T > & | that | ) | [inline] |
absl::container_internal::Tracked< T >::Tracked | ( | Tracked< T > && | that | ) | [inline] |
size_t absl::container_internal::Tracked< T >::num_copies | ( | ) | [inline] |
size_t absl::container_internal::Tracked< T >::num_moves | ( | ) | [inline] |
Tracked& absl::container_internal::Tracked< T >::operator= | ( | const Tracked< T > & | that | ) | [inline] |
Tracked& absl::container_internal::Tracked< T >::operator= | ( | Tracked< T > && | that | ) | [inline] |
const T& absl::container_internal::Tracked< T >::val | ( | ) | const [inline] |
std::shared_ptr<size_t> absl::container_internal::Tracked< T >::num_copies_ = std::make_shared<size_t>(0) [private] |
std::shared_ptr<size_t> absl::container_internal::Tracked< T >::num_moves_ = std::make_shared<size_t>(0) [private] |
T absl::container_internal::Tracked< T >::val_ [private] |