template <typename Unused = void>

struct null_target

Defined at line 92 of file ../../sdk/lib/fit/include/lib/fit/internal/function.h

All function_base instantiations, regardless of callable type, use the same

vtable for nullptr functions. This avoids generating unnecessary identical

vtables, which reduces code size.

The null_target class does not need to be a template. However, if it was not

a template, the ops variable would need to be defined in a .cc file for C++14

compatibility. In C++17, null_target::ops could be defined in the class or

elsewhere in the header as an inline variable.

Public Members

static target_ops ops

Public Methods

void invoke (void * )

Defined at line 93 of file ../../sdk/lib/fit/include/lib/fit/internal/function.h