[Boost-users] MPL to get rid of cumbersome switch