Skip to content

Instantly share code, notes, and snippets.

Avatar

Interval interval1066

View GitHub Profile
@interval1066
interval1066 / Makefile
Last active Sep 2, 2020 — 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
{
public:
You can’t perform that action at this time.