示例#1
0
 static typename result_of::end_value< adapted_type >::type end_value( Id& id ) {
     return bindings::begin_value( id.data() ) + 
            offset( id, id.start() + id.size() );
 }
示例#2
0
 static std::ptrdiff_t stride1( const Id& id ) {
     return bindings::stride1( id.data() );
 }
示例#3
0
 static typename result_of::end_value< adapted_type >::type end_value( Id& id ) {
     return bindings::begin_value( id.data() ) + id.size() * stride1( id );
 }
示例#4
0
 static typename result_of::begin_value< adapted_type >::type begin_value( Id& id ) {
     return bindings::begin_value( id.data() ) +
            offset( id.data(), id.start1(), id.start2() );
 }
示例#5
0
 static std::ptrdiff_t bandwidth2( const Id& id ) {
     return bindings::bandwidth2( id.data() );
 }
示例#6
0
 static std::ptrdiff_t stride1( const Id& id ) {
     return id.stride1() * bindings::stride1( id.data() ) +
            id.stride2() * bindings::stride2( id.data() );
 }
示例#7
0
 static std::ptrdiff_t bandwidth1( const Id& id ) {
     return bindings::bandwidth( id.data(), data_side() );
 }