What does this do
By
RexLee
in Programming
in Programming
Go to solution
Solved by WanderingFool,
It is a constructor. Basically it is turning the struct into a pseudo-class
The _x(x) is just initiallizing the _x to x...it is suppose to be more efficient than doing
_x = x inside the actual constructor (or at least that is what my teacher said a long time ago...not sure if it is actually true)
-
Featured Topics
-
Topics
-
philelli ·
Posted in CPUs, Motherboards, and Memory0 -
0
-
2
-
0
-
1
-
acenxl ·
Posted in Peripherals1 -
Lil-Dabbie ·
Posted in Troubleshooting2 -
porina ·
Posted in Peripherals2 -
Ren Hiyama ·
Posted in CPUs, Motherboards, and Memory6 -
2
-
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now