MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / push_back

Method push_back

sql/sql_list.h:481–481  ·  view source on GitHub ↗

Typecasting to (void *) it's necessary if we want to declare List with constant T parameter (like List ), since the untyped storage is "void *", and assignment of const pointer to "void *" is a syntax error. */

Source from the content-addressed store, hash-verified

479 is "void *", and assignment of const pointer to "void *" is a syntax error.
480 */
481 inline bool push_back(T *a) { return base_list::push_back((void *) a); }
482 inline bool push_back(T *a, MEM_ROOT *mem_root)
483 { return base_list::push_back((void *) a, mem_root); }
484 inline bool push_front(T *a) { return base_list::push_front((void *) a); }

Callers 15

Item_equalMethod · 0.45
bufferMethod · 0.45
push_warningMethod · 0.45
add_value_to_listFunction · 0.45
init_column_partMethod · 0.45
add_item_to_listMethod · 0.45
add_ftfunc_to_listMethod · 0.45
check_sum_funcMethod · 0.45
add_conditionMethod · 0.45
add_to_varlistMethod · 0.45
get_file_options_ulllistFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected