Meeting 28 February 2019

Twitter

/img/ewg-ransom.png

Kona Trip Reports

C++20

Bryce Lelbach:

TL;DR: C++20 may well be as big a release as C++11.
/img/epic_win.jpg

API design: iterator-based vs. container-based

Pros:

  • Iterator-based API is more flexible
    • works with different containers
    • works with types that expose differently-named begin and end member functions
    • works on ranges of data instead of the entire container
  • Protobuf APIs are iterator-based
  • Flatbuffers are iterator-based
  • Standard and Boost algorithms are iterator-based

Cons:

  • Not as readable as container-based API

Eigen + MTS + Google Ceres Solver = SEGFAULT

bool aligned = ((unsigned long)p % 16) == 0;

Cpp On Sea 2019 Trip Report by Arne Mertz

https://arne-mertz.de/2019/02/cpp-on-sea-2019-trip-report/

C++ On Sea is definitely the best conference I have ever been to.

The opener was titled “Hello, World”, there was a “main()” plenary hall and session rooms titled “const west”, “east const”, and “unsigned”. The latter was the smallest of the session rooms and had an overflow problem a few times, but luckily that did not lead to undefined behavior, because C++ conference attendees seem to be very nice people in general.

Twitter

/img/cmake-cats.png /img/load-bearing-bug.png