View Single Post
Leech_v2
Senior Member
Join Date: Mar 2011
Location: Chinese GuangDong
Old 10-07-2023 , 01:16   Re: What is the difference in the way these variables are declared?
Reply With Quote #3

Quote:
Originally Posted by Bugsy View Post
? The file you sent did not explain my problem.
What I want to know is the purpose of using 'new' in combination with other specifier.
As far as I know, the feature of 'new' is that it allows declared variables to use runtime expressions as initialization expressions. However, runtime expressions cannot be used outside of a function, so I am wondering why it can be combined with other specifier?

Last edited by Leech_v2; 10-07-2023 at 01:31.
Leech_v2 is offline