Exemple #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() );
 }
Exemple #2
0
 static std::ptrdiff_t stride1( const Id& id ) {
     return bindings::stride1( id.data() );
 }
Exemple #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 );
 }
 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() );
 }
 static std::ptrdiff_t bandwidth2( const Id& id ) {
     return bindings::bandwidth2( id.data() );
 }
 static std::ptrdiff_t stride1( const Id& id ) {
     return id.stride1() * bindings::stride1( id.data() ) +
            id.stride2() * bindings::stride2( id.data() );
 }
Exemple #7
0
 static std::ptrdiff_t bandwidth1( const Id& id ) {
     return bindings::bandwidth( id.data(), data_side() );
 }