Re:Folly - The Faceboook open source library
by tudorb on Sunday June 03, 2012 @04:19PM
(#4061665)
folly::small_vector does just that (and it lets you use one bit for a mutex, too! -- we have a lot of memory-constrained apps so we had to design data structures for them).
We might unify that with fbvector eventually.