MCPcopy Create free account
hub / github.com/Samsung/UTopia / increment_iterator

Function increment_iterator

external/approvaltests/ApprovalTests.hpp:1932–1935  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1930 // Increment outermost iterator. If it reaches its end, we're finished and do nothing.
1931 template <class Its, std::size_t I = tuple_size<Its>() - 1>
1932 enable_if_t<I == 0> increment_iterator(Its& it, const Its&, const Its&)
1933 {
1934 ++std::get<I>(it);
1935 }
1936
1937 // Increment inner iterator. If it reaches its end, we reset it and increment the previous iterator.
1938 template <class Its, std::size_t I = tuple_size<Its>() - 1>

Callers 1

cartesian_productFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected