Answers for "how to type cast in cpp"

C++
1

c++ cast to type of variable

x = static_cast<decltype(x)>(y);
Posted by: Guest on November-25-2021

Browse Popular Code Answers by Language