Reference:
A gotcha with Optional
Long story short:
boost::optional has overloaded operator<
and
boost::none is considered as a unique value less than any other value of T
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.