These APIs are mostly just for debugging purposes, not widely used, so
it doesn't make sense to have them as constexpr in the header. (Plus the
returned void view is useless in a constexpr context anyway.)
This header size is getting out of hand, so every stripped bit counts.
Also now that they're no longer constexpr, I can go back to using
regular assertions. The reinterpret_cast<> wasn't needed either.
/* We're *sure* the view is correct, so faking the view size */
/** @todo better ideas for the StridedArrayView API? */
{_mappingData.pointer,~std::size_t{}},_size,
(CORRADE_CONSTEXPR_ASSERT(!(_flags&SceneFieldFlag::OffsetOnly),"Trade::SceneFieldData::mappingData(): the field is offset-only, supply a data array"),_mappingStride)};
/* We're *sure* the view is correct, so faking the view size */
/** @todo better ideas for the StridedArrayView API? */
{_fieldData.pointer,~std::size_t{}},_size,
(CORRADE_CONSTEXPR_ASSERT(!(_flags&SceneFieldFlag::OffsetOnly),"Trade::SceneFieldData::fieldData(): the field is offset-only, supply a data array"),_fieldStride)};