Forums for “Modernes C++ Mentoring”

I answer many questions about modern C++ in my mentoring program, but I’m also sure that I left many questions open or created new ones. Use this forum to ask your questions. You will highly benefit from formulating your question and discussing the various aspects of its answer with the other course participants. I will regularly read and answer the questions if necessary.

Topics

abstract base class Adapter ADL aggregate array associative containers atomic atomic_flag auto awaitable borrowing Bridge C++ Core Guidelines call_once casts chrono compilation compile time Composite composition concepts condition_variable const consteval constexpr constexpr if constructor cooked copy coroutine covariant return type CRTP data race decay decltype Decorator Deducing This default arguments delete Dependency Injection dependent names deque designated initialization destructor dispatch table dll Duck Typing dynamic_cast enum exceptions Facade Factory Factory Method Fidden Friend final friend friend class declaration function overloading hash header heap inheritance initialization inline istream is_constant_evaluated iterator_tags lambda lazy evaluation lock_guard lookup lvalue reference member functions memory memory leak Mixins modules move multiple inheritance mutable mutex MVC namespace new NTTP nullObject odr once_flag ostream overload overloading override ownership pass-by-reference perfect forwarding Performance pimpl Pipes-and-Filters pointer Policy Protoype pure virtual RAII ranges raw string reference references reference_wrapper reinterpret_cast requires rollback runtime rvalue reference scope scoped_lock SFINAE shared_ptr Singleton smart pointers stack State Pattern static static_assert std::cref std::lock std::make_pair std::make_tuple std::optional std::pair std::ref std::scoped_lock std::tie std::tuple steady_clock STL Strategy stream string structured binding swap switch synchronization system_clock Tag Dispatch Template Template Method templates template specialization template variable thread threadSafeInterface Thread Sanitizer time two-phase lookup Type Erasure type traits unique_lock unique_ptr unordered associative containers user-defined literal using Variant vector vector array views virtual virtual destructor virtuality Visitor