
"Domagoj Saric" <dsaritz@gmail.com> wrote in message news:ihep0q$gvj$1@dough.gmane.org... <...> ps. a few more ideas: - at first glance, the local scope guard macros could be replaced with meta-functions - the auto_buffer::deallocate 'destructor' callback should be specified (if not hardcoded) as a template parameter (to avoid the overhead of an indirect call) - the pointer/size_t data members should come before the ('huge') storage data member - a single 'policies' template parameter (that takes an MPL type-list) might be a better/'easier to extend' (albeit slower to compile:) solution than multiple template parameters... -- "What Huxley teaches is that in the age of advanced technology, spiritual devastation is more likely to come from an enemy with a smiling face than from one whose countenance exudes suspicion and hate." Neil Postman