Skip to main content
Ctrl+K
Carbonite SDK - Home Carbonite SDK - Home

Carbonite SDK

  • gitlab
  • twitter
  • youtube
  • instagram
  • www
  • linkedin
  • twitch
Carbonite SDK - Home Carbonite SDK - Home

Carbonite SDK

  • gitlab
  • twitter
  • youtube
  • instagram
  • www
  • linkedin
  • twitch

Table of Contents

  • Carbonite SDK API
  • Namespaces
  • carb
  • cpp
  • invoke

invoke#

Fully qualified name: carb::cpp::invoke

Defined in carb/cpp/Functional.h

template<typename Func, typename ...TArgs>
constexpr invoke_result_t<Func, TArgs...> carb::cpp::invoke(
Func &&f,
TArgs&&... args,
) noexcept(is_nothrow_invocable<Func, TArgs...>::value)#

Invoke the function f with the given args pack.

This is equivalent to the C++20 std::invoke function. It was originally added in C++17, but is marked as constexpr per the C++20 Standard.

previous

has_single_bit

next

invoke_r

On this page
  • invoke()
NVIDIA NVIDIA

Copyright © 2018-2025, NVIDIA Corporation.

Last updated on Aug 09, 2025.