Complexity:
For
sizeof...(Variants) <= 1, the invocation of the callable object is
implemented in constant time, i.e. it does not depend on
sizeof...(Types).
For
sizeof...(Variants) > 1, the invocation of the callable object has
no complexity requirements
.