CBMC
|
#include <small_shared_n_way_ptr.h>
Public Member Functions | |
small_shared_n_way_pointee_baset ()=default | |
small_shared_n_way_pointee_baset (const small_shared_n_way_pointee_baset &) | |
small_shared_n_way_pointee_baset & | operator= (const small_shared_n_way_pointee_baset &) |
Num | get_use_count () const |
void | increment_use_count () |
void | decrement_use_count () |
template<std::size_t I> | |
void | set_derived () |
template<std::size_t I> | |
bool | is_derived () const |
bool | is_same_type (const small_shared_n_way_pointee_baset &other) const |
Static Private Member Functions | |
static constexpr std::size_t | num_bits (const std::size_t n) |
Private Attributes | |
Num | use_count = 0 |
Static Private Attributes | |
static const int | bit_width = std::numeric_limits<Num>::digits |
static const std::size_t | type_bit_width = num_bits(N) |
static const std::size_t | use_count_bit_width |
static const Num | use_count_mask = ((Num)1 << use_count_bit_width) - 1 |
Definition at line 315 of file small_shared_n_way_ptr.h.
|
default |
|
inline |
Definition at line 323 of file small_shared_n_way_ptr.h.
|
inline |
Definition at line 346 of file small_shared_n_way_ptr.h.
|
inline |
Definition at line 334 of file small_shared_n_way_ptr.h.
|
inline |
Definition at line 339 of file small_shared_n_way_ptr.h.
|
inline |
Definition at line 363 of file small_shared_n_way_ptr.h.
|
inline |
Definition at line 370 of file small_shared_n_way_ptr.h.
|
inlinestaticconstexprprivate |
Definition at line 380 of file small_shared_n_way_ptr.h.
|
inline |
Definition at line 329 of file small_shared_n_way_ptr.h.
|
inline |
Definition at line 354 of file small_shared_n_way_ptr.h.
|
staticprivate |
Definition at line 378 of file small_shared_n_way_ptr.h.
|
staticprivate |
Definition at line 385 of file small_shared_n_way_ptr.h.
|
private |
Definition at line 376 of file small_shared_n_way_ptr.h.
|
staticprivate |
Definition at line 387 of file small_shared_n_way_ptr.h.
|
staticprivate |
Definition at line 390 of file small_shared_n_way_ptr.h.