hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/examples/types.sfinae
diff options
context:
space:
mode:
Diffstat (limited to 'examples/types.sfinae')
-rw-r--r--examples/types.sfinae5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/types.sfinae b/examples/types.sfinae
new file mode 100644
index 0000000..7adb870
--- /dev/null
+++ b/examples/types.sfinae
@@ -0,0 +1,5 @@
+// a type that carries no value emits its name, because why would it print a number
+::emit<::int32_t>::commit;
+::emit<::remove_cv_t<::byte>>::commit;
+::emit<::size_t>::commit;
+::emit<::void>::commit;