Archive for July, 2022

Understanding std::span

Written by on July 27, 2022 in C++, Programming with 0 Comments
Understanding std::span

Introduced in C++20, std::span is a light-weight abstraction that provides a convenient view into a collection of contiguous elements. Note that it is not enough for the elements to be logically contiguous, but they must be contiguous in memory too. Thus, span will work with C-style arrays, C++ vectors and arrays. It will obviously not work with […]

Continue Reading

Book Review – Beautiful C++: 30 Core Guidelines for Writing Clean, Safe, and Fast Code

Written by on July 11, 2022 in Book Review, C++ with 0 Comments
Book Review –  Beautiful C++: 30 Core Guidelines for Writing Clean, Safe, and Fast Code

Title: Beautiful C++: 30 Core Guidelines for Writing Clean, Safe, and Fast Code Authors: J.Guy Davidson, Kate Gregory Publisher:  Pearson Education Year: 2022 My earliest introduction to C++ guidelines was through Scott Meyers’ excellent book Effective C++ that first appeared in 1992. After programming in C++ for around 3 years at that point, the book […]

Continue Reading

Top