MCPcopy Create free account
hub / github.com/davisking/dlib / visit

Method visit

dlib/matlab/mex_wrapper.cpp:4826–4830  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4824{
4825 template <typename T, typename F>
4826 static void visit(T& tup, size_t idx, F fun)
4827 {
4828 if (idx == I - 1) fun(std::get<I - 1>(tup));
4829 else visit_impl<I - 1>::visit(tup, idx, fun);
4830 }
4831};
4832
4833template <>

Callers

nothing calls this directly

Calls 1

visitFunction · 0.85

Tested by

no test coverage detected