MCPcopy Create free account
hub / github.com/PyVRP/PyVRP / reverse_impl

Function reverse_impl

pyvrp/cpp/search/Route.h:34–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32{
33template <class Tuple, std::size_t... Indices>
34auto constexpr reverse_impl(Tuple &&tuple, std::index_sequence<Indices...>)
35{
36 return std::make_tuple(std::get<sizeof...(Indices) - 1 - Indices>(
37 std::forward<Tuple>(tuple))...);
38}
39
40template <class Tuple> auto constexpr reverse(Tuple &&tuple)
41{

Callers 1

reverseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected