0%

Last time we talked about how to set up Disqus as comment system on my blog. Although Disqus is a one of popular comment systems, it sometimes can be slow. So, let us try Gitment this time.

What is Gitment?

Gitment is a comment system based on GitHub Issues, which can be used in the frontend without any server-side implementation.

Read more »

This is my learning notes from the course - Mastering C++ Standard Library Features.

Discover Lambdas

  • Closures and lambda expressions
  • Lambda expression syntax in depth
  • How lambda expressions work and their performance
  • Example use cases and guidelines

Lambda Expressions in C++: What are They?

  • Examples of problems solved by lambda expressions
  • Definition of lambda expression and closure
    Read more »

This is my learning notes from the course - Mastering C++ Standard Library Features.

Example: Implementing std::vector in C++

In the following snippet, we’ll look at a barebones std::vector implementation, designed as if move semantics did not exist. This will provide a real-world example of the “rule of three“ in use.

Please be aware that the code below:

  • Does NOT deal with exception safety
  • Does NOT deal with deferred construction of objects
  • Does NOT provide the entire std::vector interface

This is just an example focused on resource management and should not be seen as a valid std::vector implementation.

Read more »