← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 10
  1. Structured iteration

    It is relatively easy to get your for-loops wrong.

  2. A new blog location

    I have decided to move Andrzej’s C++ blog to a new location.

  3. Event-driven flows

    This post is in response to two claims about coroutines: Their reference function parameters may become dangling too easily.

  4. Concepts vs type traits

    What is the difference between a concept and a type trait?

  5. Class invariants

    The primary motivation for defining a class in C++ is to reflect and maintain a class invariant.

  6. The double life of objects

    Some common knowledge: the lifetime of the object starts when its initialization is complete.

  7. The obvious final step

    The title may be misleading, as I had to invent a new short term for the pattern that occurs in the code once in a while.

  8. A moved-from optional

    This post is in response to claims, that I have heard number of times, that the semantics of optional’s move operations are wrong: Some people are surprised that the second assert holds: the unfulfilled expectation is that moving from an … Continue reading

  9. Local Time

    In this post we will see how to solve the task from the previous post, but display the time point in local time instead of system time.

  10. Using std::chrono

    The goal of this post is to show how the <chrono> library can be used to solve a practical but not that obvious problem.