Skip to content

Instantly share code, notes, and snippets.

View typon's full-sized avatar

Hassan Farooq typon

  • Toronto
View GitHub Profile
#include <cassert>
#include <variant>
#include <optional>
#include <string>
template <typename Child, typename Initial, typename Accepting, typename... Rest>
struct StateMachine {
using StateVariant = std::variant<Initial, Accepting, Rest...>;
template <typename Events>
@gubatron
gubatron / compiling_building_c_cpp_notes.md
Last active April 18, 2024 07:58
Things to remember when compiling and linking C/C++ programs

Things to remember when compiling/linking C/C++ software

by Angel Leon. March 17, 2015;

Last update on December 14, 2023

Updated on February 27, 2023

Updated August 29, 2019.