#include "pybind11_tests.h"#include <list>#include <sstream>#include <typeindex>#include <unordered_map>Go to the source code of this file.
Classes | |
| class | ConstructorStats |
Functions | |
| template<class T > | |
| void | track_copy_created (T *inst) |
| template<class T > | |
| void | track_move_created (T *inst) |
| template<class T , typename... Values> | |
| void | track_copy_assigned (T *, Values &&...values) |
| template<class T , typename... Values> | |
| void | track_move_assigned (T *, Values &&...values) |
| template<class T , typename... Values> | |
| void | track_default_created (T *inst, Values &&...values) |
| template<class T , typename... Values> | |
| void | track_created (T *inst, Values &&...values) |
| template<class T , typename... Values> | |
| void | track_destroyed (T *inst) |
| template<class T , typename... Values> | |
| void | track_values (T *, Values &&...values) |
| const char * | format_ptrs (const char *p) |
| Don't cast pointers to Python, print them as strings. More... | |
| template<typename T > | |
| py::str | format_ptrs (T *p) |
| template<typename T > | |
| auto | format_ptrs (T &&x) -> decltype(std::forward< T >(x)) |
| template<class T , typename... Output> | |
| void | print_constr_details (T *inst, const std::string &action, Output &&...output) |
| template<class T , typename... Values> | |
| void | print_copy_created (T *inst, Values &&...values) |
| template<class T , typename... Values> | |
| void | print_move_created (T *inst, Values &&...values) |
| template<class T , typename... Values> | |
| void | print_copy_assigned (T *inst, Values &&...values) |
| template<class T , typename... Values> | |
| void | print_move_assigned (T *inst, Values &&...values) |
| template<class T , typename... Values> | |
| void | print_default_created (T *inst, Values &&...values) |
| template<class T , typename... Values> | |
| void | print_created (T *inst, Values &&...values) |
| template<class T , typename... Values> | |
| void | print_destroyed (T *inst, Values &&...values) |
| template<class T , typename... Values> | |
| void | print_values (T *inst, Values &&...values) |
|
inline |
Don't cast pointers to Python, print them as strings.
Definition at line 260 of file constructor_stats.h.
Referenced by print_constr_details().
| auto format_ptrs | ( | T && | x | ) | -> decltype(std::forward<T>(x)) |
Definition at line 266 of file constructor_stats.h.
| py::str format_ptrs | ( | T * | p | ) |
Definition at line 262 of file constructor_stats.h.
| void print_constr_details | ( | T * | inst, |
| const std::string & | action, | ||
| Output &&... | output | ||
| ) |
Definition at line 271 of file constructor_stats.h.
References format_ptrs().
Referenced by print_copy_assigned(), print_copy_created(), print_created(), print_default_created(), print_destroyed(), print_move_assigned(), print_move_created(), and print_values().
| void print_copy_assigned | ( | T * | inst, |
| Values &&... | values | ||
| ) |
Definition at line 294 of file constructor_stats.h.
References print_constr_details(), and track_copy_assigned().
| void print_copy_created | ( | T * | inst, |
| Values &&... | values | ||
| ) |
Definition at line 282 of file constructor_stats.h.
References print_constr_details(), and track_copy_created().
| void print_created | ( | T * | inst, |
| Values &&... | values | ||
| ) |
Definition at line 309 of file constructor_stats.h.
References print_constr_details(), and track_created().
| void print_default_created | ( | T * | inst, |
| Values &&... | values | ||
| ) |
Definition at line 304 of file constructor_stats.h.
References print_constr_details(), and track_default_created().
| void print_destroyed | ( | T * | inst, |
| Values &&... | values | ||
| ) |
Definition at line 314 of file constructor_stats.h.
References print_constr_details(), and track_destroyed().
| void print_move_assigned | ( | T * | inst, |
| Values &&... | values | ||
| ) |
Definition at line 299 of file constructor_stats.h.
References print_constr_details(), and track_move_assigned().
| void print_move_created | ( | T * | inst, |
| Values &&... | values | ||
| ) |
Definition at line 288 of file constructor_stats.h.
References print_constr_details(), and track_move_created().
| void print_values | ( | T * | inst, |
| Values &&... | values | ||
| ) |
Definition at line 319 of file constructor_stats.h.
References print_constr_details(), and track_values().
| void track_copy_assigned | ( | T * | , |
| Values &&... | values | ||
| ) |
Definition at line 227 of file constructor_stats.h.
Referenced by print_copy_assigned().
| void track_copy_created | ( | T * | inst | ) |
Definition at line 219 of file constructor_stats.h.
Referenced by print_copy_created().
| void track_created | ( | T * | inst, |
| Values &&... | values | ||
| ) |
Definition at line 245 of file constructor_stats.h.
Referenced by print_created().
| void track_default_created | ( | T * | inst, |
| Values &&... | values | ||
| ) |
Definition at line 239 of file constructor_stats.h.
Referenced by print_default_created().
| void track_destroyed | ( | T * | inst | ) |
Definition at line 251 of file constructor_stats.h.
Referenced by print_destroyed().
| void track_move_assigned | ( | T * | , |
| Values &&... | values | ||
| ) |
Definition at line 233 of file constructor_stats.h.
Referenced by print_move_assigned().
| void track_move_created | ( | T * | inst | ) |
Definition at line 223 of file constructor_stats.h.
Referenced by print_move_created().
| void track_values | ( | T * | , |
| Values &&... | values | ||
| ) |
Definition at line 255 of file constructor_stats.h.
Referenced by print_values().