Enumerations

enum inline_any_is_pinned
Name Value
no false
yes true

Defined at line 25 of file ../../sdk/lib/fit/include/lib/fit/internal/inline_any.h

enum storage_class_e
Name Value
trivial 0
non_trivial 1

Specifies whether a type is trivially or non-trivially destructible.

Defined at line 114 of file ../../sdk/lib/fit/include/lib/fit/internal/result.h

enum empty_t
Name Value
empty_v 0

Type tags to discriminate between empty, error, and value constructors,

avoiding ambiguity with copy/move constructors.

Defined at line 131 of file ../../sdk/lib/fit/include/lib/fit/internal/result.h

enum error_t
Name Value
error_v 0

Defined at line 132 of file ../../sdk/lib/fit/include/lib/fit/internal/result.h

enum value_t
Name Value
value_v 0

Defined at line 133 of file ../../sdk/lib/fit/include/lib/fit/internal/result.h

enum state_e
Name Value
empty 0
has_error 1
has_value 2

Specifies whether the storage is empty, contains an error, or contains a

a value.

Defined at line 203 of file ../../sdk/lib/fit/include/lib/fit/internal/result.h

Records

Functions

  • size_t RoundUpToMultiple (size_t value, size_t multiple)

    Rounds the first argument up to a non-zero multiple of the second argument.

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

  • size_t RoundUpToMultiple (size_t value, size_t multiple)

    Rounds the first argument up to a non-zero multiple of the second argument.

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

  • size_t RoundUpToMultiple (size_t value, size_t multiple)

    Rounds the first argument up to a non-zero multiple of the second argument.

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

  • size_t RoundUpToWord (size_t value)

    Rounds up to the nearest word. To avoid unnecessary instantiations, function_base can only be

    instantiated with an inline size that is a non-zero multiple of the word size.

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

  • size_t RoundUpToWord (size_t value)

    Rounds up to the nearest word. To avoid unnecessary instantiations, function_base can only be

    instantiated with an inline size that is a non-zero multiple of the word size.

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

  • size_t RoundUpToWord (size_t value)

    Rounds up to the nearest word. To avoid unnecessary instantiations, function_base can only be

    instantiated with an inline size that is a non-zero multiple of the word size.

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

  • size_t FunctionAlignment (size_t inline_target_size)

    Calculates the alignment to use for a function of the provided

    inline_target_size. Some platforms use a large alignment for max_align_t, so

    use the minimum of max_align_t and the largest alignment for the inline

    target size.

    Alignments must be powers of 2, and alignof(T)

    <

    = sizeof(T), so find the

    largest power of 2

    <

    = inline_target_size.

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

  • size_t FunctionAlignment (size_t inline_target_size)

    Calculates the alignment to use for a function of the provided

    inline_target_size. Some platforms use a large alignment for max_align_t, so

    use the minimum of max_align_t and the largest alignment for the inline

    target size.

    Alignments must be powers of 2, and alignof(T)

    <

    = sizeof(T), so find the

    largest power of 2

    <

    = inline_target_size.

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

  • size_t FunctionAlignment (size_t inline_target_size)

    Calculates the alignment to use for a function of the provided

    inline_target_size. Some platforms use a large alignment for max_align_t, so

    use the minimum of max_align_t and the largest alignment for the inline

    target size.

    Alignments must be powers of 2, and alignof(T)

    <

    = sizeof(T), so find the

    largest power of 2

    <

    = inline_target_size.

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

  • const void * get_target_type_id (const function_impl<inline_target_size, require_inline, Result (Args...), Allocator> & )

    supports target() for shared functions

  • const void * get_target_type_id (const function_impl<inline_target_size, require_inline, Result (Args...), Allocator> & )

    supports target() for shared functions

  • const void * get_target_type_id (const function_impl<inline_target_size, require_inline, Result (Args...), Allocator> & )

    supports target() for shared functions

  • const void * get_target_type_id (const callback_impl<inline_target_size, require_inline, Result (Args...), Allocator> & )

    supports target() for shared functions

  • const void * get_target_type_id (const callback_impl<inline_target_size, require_inline, Result (Args...), Allocator> & )

    supports target() for shared functions

  • template <typename T, size_t = sizeof(T)>
    bool is_complete_or_unbounded_array (identity<T> )

    Returns true when T is a complete type or an unbounded array.

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

  • template <typename T, size_t = sizeof(T)>
    bool is_complete_or_unbounded_array (identity<T> )

    Returns true when T is a complete type or an unbounded array.

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

  • template <typename Identity, typename T = typename Identity::type>
    bool is_complete_or_unbounded_array (Identity )

    Defined at line 96 of file ../../sdk/lib/fit/include/lib/fit/internal/utility.h

  • template <size_t size_bytes>
    void inline_trivial_target_move (void * from_bits, void * to_bits)

    Trivially movable and destructible types can be moved with a simple memcpy. Use the same function

    for all callable types of a particular size to reduce code size.

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

  • template <size_t size_bytes>
    void inline_trivial_target_move (void * from_bits, void * to_bits)

    Trivially movable and destructible types can be moved with a simple memcpy. Use the same function

    for all callable types of a particular size to reduce code size.

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

  • void * inline_target_get (void * bits)

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

  • void * heap_target_get (void * bits)

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

  • template <typename SharedFunction>
    const void * get_target_type_id (const SharedFunction & function_or_callback)

    vtable for fit::function std::shared_ptr to target function

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

  • const void * get_target_type_id (const callback_impl<inline_target_size, require_inline, Result (Args...), Allocator> & )

    supports target() for shared functions

  • void trivial_target_destroy (void * )

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

  • const void * unshared_target_type_id (void * , const void * impl_ops)

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

  • template <typename T, size_t = sizeof(T)>
    bool is_complete_or_unbounded_array (identity<T> )

    Returns true when T is a complete type or an unbounded array.

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

  • void * null_target_get (void * )

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

  • void null_target_move (void * , void * )

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

  • template <size_t size_bytes>
    void inline_trivial_target_move (void * from_bits, void * to_bits)

    Trivially movable and destructible types can be moved with a simple memcpy. Use the same function

    for all callable types of a particular size to reduce code size.

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

  • template <auto methodtypename Ttypename... Args>
    auto make_the_call (T * instanceparameter_pack<Args...> )

    Performs the call for bind_member but captures the arguments of the method.

    This ensure that the correct overload of |method| is called.

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

Variables

const size_t occurences_of_v

Defined at line 37 of file ../../sdk/lib/fit/include/lib/fit/internal/utility.h

const size_t occurences_of_v

Defined at line 37 of file ../../sdk/lib/fit/include/lib/fit/internal/utility.h

const size_t occurences_of_v

Defined at line 37 of file ../../sdk/lib/fit/include/lib/fit/internal/utility.h

const size_t occurences_of_v

Defined at line 37 of file ../../sdk/lib/fit/include/lib/fit/internal/utility.h

const size_t occurences_of_v

Defined at line 37 of file ../../sdk/lib/fit/include/lib/fit/internal/utility.h

const size_t occurences_of_v

Defined at line 37 of file ../../sdk/lib/fit/include/lib/fit/internal/utility.h

const size_t occurences_of_v

Defined at line 37 of file ../../sdk/lib/fit/include/lib/fit/internal/utility.h

const size_t occurences_of_v

Defined at line 37 of file ../../sdk/lib/fit/include/lib/fit/internal/utility.h

const size_t occurences_of_v

Defined at line 37 of file ../../sdk/lib/fit/include/lib/fit/internal/utility.h

const size_t occurences_of_v

Defined at line 37 of file ../../sdk/lib/fit/include/lib/fit/internal/utility.h

const size_t occurences_of_v

Defined at line 37 of file ../../sdk/lib/fit/include/lib/fit/internal/utility.h

const size_t occurences_of_v

Defined at line 38 of file ../../sdk/lib/fit/include/lib/fit/internal/utility.h

const bool is_trivially_destructible_v

Defined at line 58 of file ../../sdk/lib/fit/include/lib/fit/internal/utility.h

const bool is_trivially_destructible_v

Defined at line 59 of file ../../sdk/lib/fit/include/lib/fit/internal/utility.h

const bool is_trivially_copyable_v

Defined at line 63 of file ../../sdk/lib/fit/include/lib/fit/internal/utility.h

const bool is_trivially_copyable_v

Defined at line 64 of file ../../sdk/lib/fit/include/lib/fit/internal/utility.h

const bool is_trivially_movable_v

Defined at line 69 of file ../../sdk/lib/fit/include/lib/fit/internal/utility.h

const bool is_trivially_movable_v

Defined at line 70 of file ../../sdk/lib/fit/include/lib/fit/internal/utility.h