Example code and slides for my talk "std::variant and the Power of Pattern Matching"
Branch: master
Clone or download
Latest commit 95323f1 Nov 20, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
event-handling Import example code Nov 15, 2018
lang-vm Import example code Nov 15, 2018
shared Bring match() in line with slide version Nov 19, 2018
slides
state-machine Fix: Add missing early return Nov 19, 2018
.gitignore Import example code Nov 15, 2018
Apache License.txt
CMakeLists.txt
LICENSE Initial commit Nov 14, 2018
NASA-License.txt Import example code Nov 15, 2018
README.md Improve formatting Nov 19, 2018

README.md

Example code for my talk "std::variant and the Power of Pattern Matching"

This repository contains the example code shown in my presentation "std::variant and the power of pattern matching". To build, a C++ 17 compatible compiler is required. I have tested it on the following compilers:

  • Microsoft Visual Studio 2017 (version 15.8.9)
  • clang 7.0.0 (with libc++)

In addition, the library SFML is required. I tested versions 2.4 and 2.5. On Mac OS, you can install it via homebrew:

brew install sfml

You can also find the slides for my presentation in the slides directory.

All the code in this repository is shared under the MIT license (see LICENSE).

Licenses for graphics/fonts

There are some non-code assets in the state-machine/resources directory. Except for the following exceptions, these files are made by me and covered by a Creative Commons "CC by" license.

The following files are Copyright Ascender (see Apache-License.txt):

  • DroidSans.ttf
  • DroidSans-Bold.ttf

The following file is Copyright ESA, NASA, and L. Calcada (ESO for STScI) (see NASA-License.txt):