In my code i have int
s, bool
s, pointer
s and so on, i also have some type defined by me with typedef
, how can i manage the default value initialization like it happens in the objects with the contrunctor?
I want to be sure that
T var;
if untouched, is always equal to my default value and i like to do this without parsing each line of code anche changing the default value manually and without using a preprocessor macro.
is this possible?
for a new typedef
is possible to define a default value?