[boost] function based associative generator