Skip to content

Instantly share code, notes, and snippets.

@Duckle29
Last active September 22, 2018 18:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Duckle29/dfc74c173f0ea8f412355814fd0a8e84 to your computer and use it in GitHub Desktop.
Save Duckle29/dfc74c173f0ea8f412355814fd0a8e84 to your computer and use it in GitHub Desktop.
#include "bar.h"
bar::bar():
reader(14)
{}
#pragma once
#include "cardreader.h"
class bar
{
public:
bar();
protected:
CardReader reader;
};
#include "foo.h"
foo::foo():
reader(x)
{}
#pragma once
#include "cardreader.h"
class foo
{
public:
foo();
protected:
CardReader reader;
const uint8_t x = 14;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment