00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef MTL_DETAIL_ADJUST_CURSOR_INCLUDE
00013 #define MTL_DETAIL_ADJUST_CURSOR_INCLUDE
00014
00015 namespace mtl { namespace detail {
00016
00017 template <typename Size, typename Cursor>
00018 void inline adjust_cursor(Size diff, Cursor& c, tag::dense) { c+= diff; }
00019
00020 template <typename Size, typename Cursor>
00021 void inline adjust_cursor(Size diff, Cursor& c, tag::sparse) {}
00022
00023
00024 }}
00025
00026 #endif // MTL_DETAIL_ADJUST_CURSOR_INCLUDE