| 29 | /// \see \ref extents "extents<N>" |
| 30 | template<class... Args> |
| 31 | inline extents<sizeof...(Args)> dim(Args... args) |
| 32 | { |
| 33 | return extents<sizeof...(Args)>({ static_cast<size_t>(args)... }); |
| 34 | } |
| 35 | |
| 36 | #if BOOST_WORKAROUND(BOOST_MSVC, <= 1800) |
| 37 | // for some inexplicable reason passing one parameter to 'dim' variadic template |
no outgoing calls