MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / iterator

Method iterator

include/internal/CL/cl.hpp:922–930  ·  view source on GitHub ↗

* Internal iterator constructor to capture reference * to the vector it iterates over rather than taking * the vector by copy. */

Source from the content-addressed store, hash-verified

920 * the vector by copy.
921 */
922 iterator (const vector<T,N> &vec, int index) :
923 vec_(&vec)
924 {
925 if( !vec.empty() ) {
926 index_ = index;
927 } else {
928 index_ = -1;
929 }
930 }
931
932 public:
933 iterator(void) :

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected