summaryrefslogtreecommitdiff
path: root/AK/DistinctNumeric.h
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2023-01-20 15:32:34 -0500
committerJelle Raaijmakers <jelle@gmta.nl>2023-01-21 10:36:14 +0100
commit60b56892cadd01605b55c390aa55dc7d15d11fe2 (patch)
treee342912dced5690829747265f7f5527e8e655204 /AK/DistinctNumeric.h
parenta0522aec90048fa41cf2ba568f0ef9b1da6984fb (diff)
downloadserenity-60b56892cadd01605b55c390aa55dc7d15d11fe2.zip
AK: Add a type alias for DistinctNumeric's underlying type
Diffstat (limited to 'AK/DistinctNumeric.h')
-rw-r--r--AK/DistinctNumeric.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/AK/DistinctNumeric.h b/AK/DistinctNumeric.h
index 7cb9f2e42e..9d3bc3b4bc 100644
--- a/AK/DistinctNumeric.h
+++ b/AK/DistinctNumeric.h
@@ -89,6 +89,8 @@ class DistinctNumeric {
constexpr static Option options { Opts()... };
public:
+ using Type = T;
+
constexpr DistinctNumeric() = default;
constexpr DistinctNumeric(T value)