From a9b5bfe438b383439330a91dbb103a666561c080 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Thu, 3 Jun 2021 02:00:19 -0500 Subject: [PATCH] [ox/std] Add BasicString<0> instantiation --- deps/ox/src/ox/std/string.cpp | 3 +++ deps/ox/src/ox/std/string.hpp | 2 ++ 2 files changed, 5 insertions(+) diff --git a/deps/ox/src/ox/std/string.cpp b/deps/ox/src/ox/std/string.cpp index 4e1685db..df0bcd1e 100644 --- a/deps/ox/src/ox/std/string.cpp +++ b/deps/ox/src/ox/std/string.cpp @@ -9,4 +9,7 @@ #include "string.hpp" namespace ox { + +template class BasicString<0>; + } diff --git a/deps/ox/src/ox/std/string.hpp b/deps/ox/src/ox/std/string.hpp index 00d1acf8..49ec02a4 100644 --- a/deps/ox/src/ox/std/string.hpp +++ b/deps/ox/src/ox/std/string.hpp @@ -399,6 +399,8 @@ constexpr std::size_t BasicString::len() const noexcept { return length; } +extern template class BasicString<0>; + using String = BasicString<0>; }