Welcome

SweSTHLM1

StockholmCpp 0x39

 

hiqevent

Today’s sponsor

 

HiQSponsor

C++ news

 

C++ news

 

C++26 Committee Draft is open for comments

C++ news

TK611/AG09

 

TK611/AG09

SwedenCpp News

SwedenCpp News

SwedenCpp

⇒ like, share, follow, subscribe

Also on r/cpp 🙏

StockholmCpp Planning 2025

 

Change of plans

  • Mid / End of November

Call for Papers

Submit your ideas and suggestions

needyou

Tell us what you want to hear or want to do

Call for Participation

whowants

Quiz time

JetBrainsLicense

Quiz time

 

  int val = 2;
  auto v = std::vector{1,2,3};

  if (v.size() > val) {
      /// ...;
  }

Use -Wall -Werror or /W4 /WX

Quiz time

 

  int val = 2;
  auto v = std::vector{1,2,3};

  if (v.size() > val) {
      /// ...;
  }
warning: comparison of
integer expressions of different signedness

long unsigned int and 'int' [-Wsign-compare]
        if (v.size() > val) {

Quiz time

 

  int val = 2;
  auto v = std::vector{1,2,3};

  if (std::_____(v) > val) {
      /// ...;
  }

Quiz time

 

  int val = 2;
  auto v = std::vector{1,2,3};

  if (std::ssize(v) > val) {
      /// ...;
  }

 

since C++20

Today’s program

 

  • Arvid: Premature generalization

  • Björn: This is a pipe, but should it be

  • Harald: Some tips for the everyday CMake user

  • 🍹 🍕 Mingle 🍕 🍻

  • Daniela: Towards Safety and Security in C++26

Väl mött!