assert(select(true , 5.valueFunctor, 7.valueFunctor)() == 5); assert(select(false, 5.valueFunctor, 7.valueFunctor)() == 7);
See Implementation