Hi Everyone, I would like to ask your opinion, suggestions, and perhaps an
informal review of the 'markable' library. An alternative to
boost::optional when performance really matters. It is the second
incarnation of the 'compact_optional' library that I have presented last
year.
The main differences from the previous version:
* name change: it is called 'markable' so that it is not confused with
'optional'. It uses "mark values" and mark policies"
* it has the ability to mark an empty state even for the types with strong
invariants, by marking a bit pattern rather than any proper value of T (an
idea by Matt Calabrese)
An example use case:
typedef markable