Skip to content

Instantly share code, notes, and snippets.

Working from home

Tim interval1066

Working from home
  • None
View GitHub Profile
interval1066 / Makefile
Last active September 2, 2020 03:45 — forked from Alia5/Signals.h
C++11 Signals/Slots implementation
View Makefile
# This is a recursive makefile- do not use in production
# convert to canonical make chain when time permits
# recursive file search
rfilelist=$(wildcard $1$2) $(foreach d,$(wildcard $1*),$(call rfilelist,$d/,$2))
# the name of program
TARGET = sigslot
CC = g++
# C++ compiler flags
View gist:474b4f0d4e6c92b1263aa81574d4a4c9
#include <iostream>
#include <cstdlib>
#include <memory>
using namespace std;
/* Link list node */
class Node