| 1 |
// { dg-do compile { target c++11 } } |
| 2 |
|
| 3 |
struct minus { |
| 4 |
} _1; |
| 5 |
int _2; |
| 6 |
struct _Bind { |
| 7 |
_Bind(_Bind &); |
| 8 |
}; |
| 9 |
template <typename _Func, typename _BoundArgs> |
| 10 |
_Bind bind(_Func, _BoundArgs &&, ...); |
| 11 |
void test01() { bind(minus(), _2, _1); } |