San Diego C++ Meetup – October 17 2022

Hello everyone, Yet another great evening meeting others and discussing C++. Agenda can be found in the even link here: sdcppmu-event Recording, in the Youtube channel at sdcppmu: Great discussion points on const vs non const function – how to avoid duplication of code. How “deducing this” makes the syntax shorter. Martin shared the following: […]

San Diego C++ Meetup #42 – September 22 2022

Yet another fun night in San Diego C++ Meetup (sdcppmu). Recording can be found in our sdcppmu Youtube channel. Here is the agenda link: https://www.meetup.com/san-diego-cpp/events/288596469/ We had quiz, C++ book which is https://www.amazon.com/Template-Metaprogramming-everything-templates-metaprogramming/dp/1803243457 We also discussed life time extension in the context of C++11 range for loop. One thing that we discovered during the meeting […]

inline – not what it used to be

UPDATE:Thank you Peter Sommerlad for pointing out that the non-violation of ODR was and remains the primary purpose of inline, not the optimization hint. I’m updating the post to reflect this. Today I want to talk about the C++ keyword inline; what it used to mean prior to C++17 and what it means today. Let’s […]

Modern C++ Coding Standard by Marcus Tomlinson – book review

I have this habit of buying books. Like tons of books. Ask my wife, she’ll tell you. I think at that point she gave up. I like to read what others think about the industry, about a specific domain. How do people see programming (especially C++) and technology from their own perspective. So sometimes, I […]

San Diego C++ Meetup #41

Super fun evening in San Diego, America’s finest city with the finest programming language (C++, if you had any doubts). We learned tons of stuff and we are ready to Rock’n Roll using C++ at work and … home! What did we discuss tonight?1. Goals we would like to achieve in San Diego C++ Meetup. […]

San Diego C++ Meetup #40

Yet another fun evening in San Diego, America’s finest city with the finest programming language. We discussed: Welcome slides – goals we would like to achieve in San Diego C++ Meetup C++ Quiz – few fun questions Going over C++ Stackoverflow posts unique_ptr, shared_ptr and std::initializer_list<>

San Diego C++ Meetup #38 Featuring Amir Kirsh from Incredibuild

Meetup session May 24 20212 Six ways for implementing max: a walk through API design, dangling references and C++20 constraints Abstract:API design in C++ is harder than in other languages, as the lifetime of the arguments and return value shall be considered carefully. While it gives programmers the full power in expressing their intent, it […]

Adapter Pattern Explained

Brief bookclub talk I gave at work introducing the adapter design pattern in C++.Chapter 17 from Hands-On Design Patterns with C++ by Fedor G. Pikus. Source code:adapter.cpp

Decorator Pattern Explained

Brief bookclub talk I gave at work introducing the decorator design pattern in C++.Chapter 17 from Hands-On Design Patterns with C++ by Fedor G. Pikus. Source code:decorator.cpp

My Best C++11, 14 and 17 Features

From the 37th San Diego C++ Meetup: Recently I was hosted twice in cppcast podcast with Rob and Jason. I mentioned how using C++17 makes it easy to develop Modern C++ code. I will go over various features that are proven to work well. We built a software with no memory issues, no UBs etc… […]

C++ Discord Server

San Diego C++ Meetup has a Discord server open to the public.If you’re passionate about C++ and want to meet likeminded people join us: https://discord.gg/rqQTzSxy

36th San Diego C++ Meetup

As always good times at the SDCPPM (also on Twitter)! Learned something new last night and met great people! Thanks again for organizing this Kobi! For those new to this Meetup: we meet once a month for few hours to discuss C++ features, techniques, questions asked no the net, and more. Sometimes we have guest […]

32nd San Diego C++ Meetup

Agenda: 1. Welcome slides – goals we would like to achieve in San Diego C++ Meetup2. C++ quiz3. Do you know what your std::remove(_if) does?4. Stackoverflow questions and discussions4a. How does the C++ compiler evaluate recursive constexpr functions so quickly?4b. How to check if int32_t number can fit in int8_t and int16_t?5. Quora question discussion […]

C++20 Concepts

C++20 introduced the Concepts library and the corresponding language extensions to template metaprogramming. This post will be a brief introduction to the topic for people already well versed in C++ templates. What is a concept? Besides being a new keyword in C++20 it is a mechanism to describe constraints or requirements of typename T; it is […]