Continuing the topic from last week, let’s dive into the topic of std::invoke
. This helper template function helps with uniform syntax call for various callable object types and can greatly reduce the complexity of our generic code.
↧
C++20 Ranges, Projections, std::invoke and if constexpr
↧