summaryrefslogtreecommitdiff
path: root/src/analysis/lattices/shared.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/lattices/shared.h')
-rw-r--r--src/analysis/lattices/shared.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/analysis/lattices/shared.h b/src/analysis/lattices/shared.h
index e75b895ea..54acf92b4 100644
--- a/src/analysis/lattices/shared.h
+++ b/src/analysis/lattices/shared.h
@@ -118,6 +118,9 @@ template<Lattice L> struct Shared {
}
};
+// Deduction guide.
+template<typename L> Shared(L&&) -> Shared<L>;
+
#if __cplusplus >= 202002L
static_assert(Lattice<Shared<Bool>>);
#endif // __cplusplus >= 202002L