summaryrefslogtreecommitdiff
path: root/src/user/include/cxx/structs
diff options
context:
space:
mode:
authorBenji Dial <benji6283@gmail.com>2021-03-08 14:46:19 -0500
committerBenji Dial <benji6283@gmail.com>2021-03-08 14:46:19 -0500
commit8221fd5451f094defa9866f98026b74a969f7693 (patch)
tree9f0e9595fd15bdecbe667f823deded7428547b44 /src/user/include/cxx/structs
parent1a5ece4f52ef17c7c868e95eb26e98137d5cab6f (diff)
downloadportland-os-8221fd5451f094defa9866f98026b74a969f7693.tar.gz
resizable widgets, default widget implementation for some functions, reimplementing meminfo in raleigh
Diffstat (limited to 'src/user/include/cxx/structs')
-rw-r--r--src/user/include/cxx/structs/duple.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/user/include/cxx/structs/duple.h b/src/user/include/cxx/structs/duple.h
new file mode 100644
index 0000000..874e4f6
--- /dev/null
+++ b/src/user/include/cxx/structs/duple.h
@@ -0,0 +1,13 @@
+#ifndef STRUCTS_DUPLE_H
+#define STRUCTS_DUPLE_H
+
+template<class at, class bt>
+class duple {
+public:
+ duple(at a, bt b)
+ : a(a), b(b) {}
+ at a;
+ bt b;
+};
+
+#endif \ No newline at end of file