Closed n0F4x closed 3 months ago
GCC's implementation of the _and_then
function parameter returns optional check_:
template<typename _Tp>
inline constexpr bool __is_optional_v = false;
template<typename _Tp>
inline constexpr bool __is_optional_v<optional<_Tp>> = true;
We should support both std::optional
and fastgltf::OptionalWithFlagValue
. But I wasn't sure what style would be ideal - this is a header file after all.
Check for function provided to
and_then
returning optional type is missing