How to convert element of variant to std::string??

```
void Function(const std::string str)
{
~~
}

std::variant<std::string, int, float> a{ 32 };

```

i should pass element of a to Function.
i can't change argument of Function. and i don't wanna add any helper function.

i just wanna convert element of a to string.
i tried many ways. but everything didn't works.
i know i can do this through `std::get<std::string>(a)`, `std::get<int>(a)`, `std::get<float>(a)`
but i need many try catch statements to do this.

i wanna know more clever ways.