Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ cast to type of variable

x = static_cast<decltype(x)>(y);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #cast #type #variable
ADD COMMENT
Topic
Name
6+6 =