I wanted to use defaulted equal operator bool operator ==(...) = default; if only compiler supports it, otherwise I could still use existing implementation.
But I cannot find an appropriate feature test in https://en.cppreference.com/w/cpp/feature_test
Point me the correct feature test or help to fix this code:
struct Some {
constexpr bool operator == (const Some& rhs) const noexcept
#if __cpp_what?
= default;
#else
{
...
}
#endif
};