
6 Oct
2010
6 Oct
'10
7:32 a.m.
On 2010-10-05 16:37, Christopher Jefferson wrote:
Yes, for example while NULL is a sensible pointer to store, I decided I would never want to represent (void*)1, so I specialised boost::optional to use that. It is also possible to come up with impossible states for most standard library objects (std::vector, std::list) if you know how they are stored internally. However I'm not sure such code could be submitted to boost.
This is the stuff I am expecting in the first place: A nice and clean interface, and implemented in an efficient way. Cheers, Rutger