can u explain what u mean by 'its not same as inline keyword'
slier81 1 month ago in playlist Object Oriented Game Development
@slier81 In C++ the keyword inline actually has a function. I was using the term "inline" to mean that the declaration and definition were together
MikeGeigTV 1 month ago
@MikeGeigTV
normal function behave differently than a inline function u know
slier81 1 month ago
@slier81 Yep, that's true. Interestingly enough, I just read that defining a method in the class header is the same as declaring it inline in C++. I didn't know that. Learn something new every day.
can u explain what u mean by 'its not same as inline keyword'
slier81 1 month ago in playlist Object Oriented Game Development
@slier81 In C++ the keyword inline actually has a function. I was using the term "inline" to mean that the declaration and definition were together
MikeGeigTV 1 month ago
@MikeGeigTV
normal function behave differently than a inline function u know
slier81 1 month ago
@slier81 Yep, that's true. Interestingly enough, I just read that defining a method in the class header is the same as declaring it inline in C++. I didn't know that. Learn something new every day.
MikeGeigTV 1 month ago