You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to be able to give an actual value to firstOrDefault to return when there is no first element. Right now it returns T(), which is not always desirable, and it would be great if there was an overload that takes a T&& or T const& and returns that instead.
The text was updated successfully, but these errors were encountered:
It would be great to be able to give an actual value to
firstOrDefault
to return when there is no first element. Right now it returnsT()
, which is not always desirable, and it would be great if there was an overload that takes aT&&
orT const&
and returns that instead.The text was updated successfully, but these errors were encountered: