Luna::failed

template <typename _Ty>
bool failed(const R< _Ty > &r)

Tests whether the specified result is failed.

Parameters

  • in r

    The result to test.

Return value

Returns true if the result is failed. Returns false otherwise.