MCPcopy Create free account
hub / github.com/NVIDIA/stdexec / _canonicalize_impl

Function _canonicalize_impl

include/exec/function.hpp:235–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233
234 template <std::size_t Size>
235 consteval auto _canonicalize_impl(__static_vector<__type_index, Size> types) noexcept
236 {
237 std::ranges::sort(types);
238 auto const rest = std::ranges::unique(types);
239 types.erase(rest.begin(), types.end());
240 return types;
241 }
242
243 template <template <class...> class List, class... Types>
244 consteval auto _canonicalize(List<Types...> *) noexcept

Callers 1

_canonicalizeFunction · 0.85

Calls 3

eraseMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected