| 43 | |
| 44 | template <typename T> |
| 45 | void check_const ( |
| 46 | const T& t |
| 47 | ) |
| 48 | { |
| 49 | t.template get<0>(); |
| 50 | |
| 51 | typedef typename T::template get_type<0>::type type0; |
| 52 | t.template get<type0>(); |
| 53 | t.template index<type0>(); |
| 54 | } |
| 55 | |
| 56 | template <typename T> |
| 57 | void check_nonconst ( |