aboutsummaryrefslogtreecommitdiff
path: root/c/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/util.h')
-rw-r--r--c/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/c/util.h b/c/util.h
index c08050d..7c2b293 100644
--- a/c/util.h
+++ b/c/util.h
@@ -23,6 +23,7 @@ inline int Cmp(const int a, const int b)
return -1;
}
+/* Generic RAII type. */
template <typename T, auto F, typename U, auto E = 0>
struct Managed
{