We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96de8f7 commit 9c7c764Copy full SHA for 9c7c764
include/ctll/fixed_string.hpp
@@ -36,12 +36,11 @@ constexpr length_value_t length_and_value_of_utf16_code_point(uint16_t first_uni
36
else return {first_unit, 1};
37
}
38
39
-template <size_t N> class fixed_string {
40
-private:
+template <size_t N> struct fixed_string {
41
char32_t content[N] = {};
42
size_t real_size{0};
43
bool correct_flag{true};
44
-public:
+
45
template <typename T> constexpr fixed_string(const T (&input)[N]) noexcept {
46
if constexpr (std::is_same_v<T, char>) {
47
#if CTRE_STRING_IS_UTF8
0 commit comments