Meeting 12 September 2019

Dropbox abandons C++, uses Swift, Kotlin, JavaScript and Electron instead

Unified function call

Barry Revzin

Approval tests

Also known as Golden Master Tests or Snapshot Testing (locking down current behaviour)

Books

Tools

A new SQLite C++ wrapper

https://blog.trailofbits.com/2019/08/26/wrappers-delight/

https://www.reddit.com/r/cpp/comments/cxxk4b/a_new_c_sqlite_wrapper/

The Reddit thread also includes a heated discussion on how to handle errors and if exceptions are a good thing (eyeroll).

strong_typedef - Create distinct types for distinct purposes

Article by Anthony Williams

https://www.justsoftwaresolutions.co.uk/cplusplus/strong_typedef.html

https://github.com/anthonywilliams/strong_typedef

using transaction_id =
  jss::strong_typedef<struct transaction_tag, std::string>;

bool is_a_foo(transaction_id id)
{
  auto &s = id.underlying_value();
  return s.find("foo") != s.end();
}

Twitter: CppCon Bingo

/img/cppcon-bingo.png