Added template function select_if() in variant.h; Unit-tested.

I thought the '///< @brief' did that.  Can you remind me how to do that?