예제 #1
0
 static std::ptrdiff_t stride2( const Id& id ) {
     return id.stride2();
 }
예제 #2
0
 static std::ptrdiff_t stride1( const Id& id ) {
     return id.stride1() * bindings::stride1( id.data() ) +
            id.stride2() * bindings::stride2( id.data() );
 }