summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/33210-templates4.cpp
blob: 10b96e4ac50d8082afdabf2e05b70e07768b427b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#define FOO(X) \
template <unsigned _blk_sz, typename _run_type, class __pos_type> \
inline X<_blk_sz, _run_type, __pos_type> operator - ( \
const X<_blk_sz, _run_type, __pos_type> & a, \
typename X<_blk_sz, _run_type, __pos_type>::_pos_type off) \
{ \
return X<_blk_sz, _run_type, __pos_type>(a.array, a.pos - off); \
} \
template <unsigned _blk_sz, typename _run_type, class __pos_type> \
inline X<_blk_sz, _run_type, __pos_type> & operator -= ( \
X < _blk_sz, _run_type, __pos_type > & a, \
typename X<_blk_sz, _run_type, __pos_type>::_pos_type off) \
{ \
a.pos -= off; \
return a; \
}