Andrei Alexandrescu wrote:
The two words overhead comes from the vtable and the mutex.

I don't think that overhead is a problem. For small numbers of values, one should use an array. The more complex containers are for larger numbers of values, where 2 words is insignificant.

Reply via email to