| 48 | /// \see \ref field "field<T>" |
| 49 | template<size_t N> |
| 50 | struct get |
| 51 | { |
| 52 | /// \internal_ |
| 53 | template<class> struct result; |
| 54 | |
| 55 | /// \internal_ |
| 56 | template<class F, class Arg> |
| 57 | struct result<F(Arg)> |
| 58 | { |
| 59 | typedef typename detail::get_result_type<N, Arg>::type type; |
| 60 | }; |
| 61 | |
| 62 | template<class Arg> |
| 63 | detail::invoked_get< |
| 64 | N, Arg, typename boost::remove_cv<typename Arg::result_type>::type |
| 65 | > operator()(const Arg &arg) const |
| 66 | { |
| 67 | typedef typename boost::remove_cv<typename Arg::result_type>::type T; |
| 68 | |
| 69 | return detail::invoked_get<N, Arg, T>(arg); |
| 70 | } |
| 71 | }; |
| 72 | |
| 73 | } // end compute namespace |
| 74 | } // end boost namespace |
nothing calls this directly
no outgoing calls
no test coverage detected