User profile: seeplus

User info
User name:seeplus
History
Joined:Aug 28, 2020 at 11:29am
Number of posts:6617
Latest posts:

Logging Wrong Line Number
Instead of __LINE__ have you tried std::source_location::line (C++20): https://en.cppreference.com/w...

Getter for enum member returns a copy of enum?
[quote]Is it because getStatus(), in the call f.getStatus().setConnectionStatus(Connected), returns-...

Formatted Console Log with Datetime
If the OP could move to C++20 rather than sticking with using C++11 then there's std::format()

Formatted Console Log with Datetime
snprintf() returns the number of characters that would have been written if the given size was big e...

Is my understanding of pointers correct?
There are several well-known patterns. They were originally discussed in the book 'Design Patterns' ...