[boost] passing temporaries to mutating algorithms