Logging Wrong Line NumberInstead 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 DatetimeIf the OP could move to C++20 rather than sticking with using C++11 then there's std::format()
Formatted Console Log with Datetimesnprintf() 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' ...