Header files for boosting

Header files for a general boosting framework. 
Yeah, but you're returning a pointer to a stack allocated variable which is deleted when the function returns.