User profile: ElusiveTau

User info
User name:ElusiveTau
History
Joined:Aug 19, 2016 at 9:02pm
Number of posts:171
Latest posts:

Logging Wrong Line Number
[quote=kigar64551]But you can still use them inside a macro definition. And that macro definition ca...

Logging Wrong Line Number
I'm working with C++17 or prior. I'm writing a custom logger class (I don't have access to a loggin...

Getter for enum member returns a copy of enum?
[quote=kigar64551]In most cases, a "getter" function should not return a non-const reference, becaus...

Getter for enum member returns a copy of enum?
[quote=coder777]Don't make your life harder than necessary. When you have both setter and getter you...

Getter for enum member returns a copy of enum?
I came across something non-intuitive, found a solution, but don't fully understand why the solution...