Lines Matching full:values

52 For everything except copy and move constructors and destructors, any extra values given to the
53 print_...() function is stored in a class-specific values list which you can retrieve and inspect
54 from the ConstructorStats instance `.values()` method.
76 std::list<std::string> _values; // Used to track values (e.g. of value constructors)
137 // Takes one or more values, converts them to strings, then stores them.
145 // Move out stored values
146 py::list values() { in values() function
199 // constructors/operators. The ones that take extra values record the given values in the
200 // constructor stats values for later inspection.
203 template <class T, typename... Values> void track_copy_assigned(T *, Values &&...values) { in track_copy_assigned() argument
206 cst.value(std::forward<Values>(values)...); in track_copy_assigned()
208 template <class T, typename... Values> void track_move_assigned(T *, Values &&...values) { in track_move_assigned() argument
211 cst.value(std::forward<Values>(values)...); in track_move_assigned()
213 template <class T, typename... Values> void track_default_created(T *inst, Values &&...values) { in track_default_created() argument
216 cst.value(std::forward<Values>(values)...); in track_default_created()
218 template <class T, typename... Values> void track_created(T *inst, Values &&...values) { in track_created() argument
221 cst.value(std::forward<Values>(values)...); in track_created()
223 template <class T, typename... Values> void track_destroyed(T *inst) { in track_destroyed()
226 template <class T, typename... Values> void track_values(T *, Values &&...values) { in track_values() argument
227 ConstructorStats::get<T>().value(std::forward<Values>(values)...); in track_values()
244 …ass T, typename... Values> void print_copy_created(T *inst, Values &&...values) { // NB: this prin… in print_copy_created() argument
245 print_constr_details(inst, "created via copy constructor", values...); in print_copy_created()
248 …ass T, typename... Values> void print_move_created(T *inst, Values &&...values) { // NB: this prin… in print_move_created() argument
249 print_constr_details(inst, "created via move constructor", values...); in print_move_created()
252 template <class T, typename... Values> void print_copy_assigned(T *inst, Values &&...values) { in print_copy_assigned() argument
253 print_constr_details(inst, "assigned via copy assignment", values...); in print_copy_assigned()
254 track_copy_assigned(inst, values...); in print_copy_assigned()
256 template <class T, typename... Values> void print_move_assigned(T *inst, Values &&...values) { in print_move_assigned() argument
257 print_constr_details(inst, "assigned via move assignment", values...); in print_move_assigned()
258 track_move_assigned(inst, values...); in print_move_assigned()
260 template <class T, typename... Values> void print_default_created(T *inst, Values &&...values) { in print_default_created() argument
261 print_constr_details(inst, "created via default constructor", values...); in print_default_created()
262 track_default_created(inst, values...); in print_default_created()
264 template <class T, typename... Values> void print_created(T *inst, Values &&...values) { in print_created() argument
265 print_constr_details(inst, "created", values...); in print_created()
266 track_created(inst, values...); in print_created()
268 …ate <class T, typename... Values> void print_destroyed(T *inst, Values &&...values) { // Prints bu… in print_destroyed() argument
269 print_constr_details(inst, "destroyed", values...); in print_destroyed()
272 template <class T, typename... Values> void print_values(T *inst, Values &&...values) { in print_values() argument
273 print_constr_details(inst, ":", values...); in print_values()
274 track_values(inst, values...); in print_values()