Re: std::experimental::optional operator!=

2014-04-25 Thread Jonathan Wakely
On 30/03/14 12:54 +0200, Lars Gullik Bjønnes wrote: When trying to convert some code using boost::optional to using std::experimental::optional instead if come over the issue that I had to implement operator!= for the contained types. When looking at n3793 it states that operator!= should be imp

std::experimental::optional operator!=

2014-03-30 Thread Lars Gullik Bjønnes
--- Begin Message --- Hi, When trying to convert some code using boost::optional to using std::experimental::optional instead if come over the issue that I had to implement operator!= for the contained types. When looking at n3793 it states that operator!= should be implemented with !(t1 == t2),