[boost] Does boost help in creating generic function wrappers?