Luna::succeeded

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

Tests whether the specified result is successful.

Parameters

  • in r

    The result to test.

Return value

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