Meeting 21 June 2018

Rapperswil trip reports

The Register interview

Bjarne Stroustrup: Remember the Vasa

Louis Dionne goes to Apple

Twitter: C++ Core Guidelines and Microsoft’s James McNellis

Twitter: C++ Core Guidelines and Microsoft’s Kenny Kerr

Unions and type punning in C++

1union CurrencyCode {
2    char code[4];
3    unsigned int hash;
4}

Builder Pattern with Fluent API

Post

 1class Email {
 2public:
 3    ...
 4    static EmailBuilder make();
 5};
 6
 7class EmailBuilder {
 8    ...
 9    operator Email&&() { return std::move(m_email); }
10private:
11    Email m_email;
12}
13
14EmailBuilder Email::make() { return EmailBuilder(); }
1int main() {
2    Email mail = Email::make().from("me@mail.com")
3                              .to("you@mail.com")
4                              .subject("C++ builders")
5                              .body("I like this API");
6}

Before/after tables (“Tony Tables”) for C++17 and C++20 by Tony van Eerd

C++ Now 2018 Videos

Twitter