c++ the type alias using 3 minutes, maybe 1 minutes.
c++ using has many wonderful and awesome features, only the type alias is talked here.
As the type alias denotes, it is used for an alias of a type.
using my_int = int; // my_int is an alias of int now, when using my_int, // it is using int in future. my_int a = 5;
If a name of a type is too long, you can use using to short it.
using my_double = const long long doube &; my_double x = 2.44;
Written on Oct 31, 2024
Powered by - B2 Build | boost quickbook | I2Pd
====
cppfxjjm5bgqx2cepvisfcy4zz4ystzxxh36mtuvqm2jp5g6rb7a.b32.i2p