summaryrefslogtreecommitdiff
path: root/include/cxx_semantics.h
diff options
context:
space:
mode:
authorMateusz Zalega <mateusz@appliedsourcery.com>2015-10-22 22:41:18 +0200
committerMateusz Zalega <mateusz@appliedsourcery.com>2015-10-22 22:41:18 +0200
commitc4aec144256e3f27fedd8f8de03e10cc08eecab8 (patch)
treee7dda787a0f98be420499a3c60f7a821d75ad60c /include/cxx_semantics.h
downloadlibnitrokey-c4aec144256e3f27fedd8f8de03e10cc08eecab8.tar.gz
libnitrokey-c4aec144256e3f27fedd8f8de03e10cc08eecab8.tar.bz2
Initial
Diffstat (limited to 'include/cxx_semantics.h')
-rw-r--r--include/cxx_semantics.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/cxx_semantics.h b/include/cxx_semantics.h
new file mode 100644
index 0000000..f5d3dca
--- /dev/null
+++ b/include/cxx_semantics.h
@@ -0,0 +1,15 @@
+#ifndef CXX_SEMANTICS_H
+#define CXX_SEMANTICS_H
+
+#define __packed __attribute__((__packed__))
+
+/*
+ * There's no need to include Boost for a simple subset this project needs.
+ */
+namespace semantics {
+ class non_constructible {
+ non_constructible() {}
+ };
+}
+
+#endif