Namespaces
Variants
Views
Actions

Talk:cpp/experimental/optional/operator cmp

From cppreference.com

template< class T > constexpr bool operator<( const T& v , const optional<T>& opt); appears to be missing. I'm not familiar enough with wikis, especially one so technical, to dare touch it.

This was an apparent omission in §20.6.10[optional.comp_with_t] of the draft n3690 (although the overload was listed in the synopsis in §20.6.2[optional.syn]). There is no std::optional in the current draft (n3797), so the point is moot. --Cubbi (talk) 19:13, 11 November 2013 (PST)