Пример #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() );
 }