Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumC++type traits librarySingle-choice MCQ

What is `std::is_invocable_r_v<int, F, double>` for the callable below, and what does the `_r` form additionally check?

auto F = [](double d) -> long { return static_cast<long>(d); };