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

Method go

dlib/tuple/tuple.h:149–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147 struct tuple_swap
148 {
149 static void go(
150 T& a,
151 T& b
152 )
153 {
154 exchange(a.template get<i>(), b.template get<i>());
155 tuple_swap<T,i+1>::go(a,b);
156 }
157 };
158
159 template <typename T, long i>

Callers

nothing calls this directly

Calls 1

exchangeFunction · 0.85

Tested by

no test coverage detected