@@ -157,41 +157,41 @@ namespace steppable::prettyPrint
157
157
namespace steppable ::__internals::symbols
158
158
{
159
159
// / @brief The because symbol (3 dots in a triangle, Unicode U+2235)
160
- constexpr const std::string_view& BECAUSE = " \u2235 " ;
160
+ constexpr std::string_view BECAUSE = " \u2235 " ;
161
161
// / @brief The therefore symbol (3 dots in a triangle, Unicode U+2234)
162
- constexpr const std::string_view& THEREFORE = " \u2234 " ;
162
+ constexpr std::string_view THEREFORE = " \u2234 " ;
163
163
164
164
// / @brief The multiply symbol (Unicode U+00D7)
165
- constexpr const std::string_view& MULTIPLY = " \u00D7 " ;
165
+ constexpr std::string_view MULTIPLY = " \u00D7 " ;
166
166
// / @brief The divide symbol (Unicode U+00F7)
167
- constexpr const std::string_view& DIVIDED_BY = " \u00F7 " ;
167
+ constexpr std::string_view DIVIDED_BY = " \u00F7 " ;
168
168
169
- constexpr const std::string_view& SURD = " \u221A " ;
170
- constexpr const std::string_view& COMBINE_MACRON = " \u0305 " ;
169
+ constexpr std::string_view SURD = " \u221A " ;
170
+ constexpr std::string_view COMBINE_MACRON = " \u0305 " ;
171
171
172
172
// / @brief The large dot symbol (Unicode U+25C9)
173
- constexpr const std::string_view& LARGE_DOT = " \u25C9 " ;
174
- constexpr const std::string_view& ABOVE_DOT = " \u02D9 " ;
173
+ constexpr std::string_view LARGE_DOT = " \u25C9 " ;
174
+ constexpr std::string_view ABOVE_DOT = " \u02D9 " ;
175
175
176
176
// Subscripts
177
177
/* *
178
178
* @brief The subscript 0 (Unicode U+2080)
179
179
* @note This is used to check if a subscript is converted correctly, do not use this in the program.
180
180
*/
181
- constexpr const std::string_view& SUB_0 = " \u2080 " ;
181
+ constexpr std::string_view SUB_0 = " \u2080 " ;
182
182
/* *
183
183
* @brief The subscript z (Unicode U+2098)
184
184
* @note This is used to check if a subscript is converted correctly, do not use this in the program.
185
185
*/
186
- constexpr const std::string_view& SUB_Z = " \u1D69 " ;
186
+ constexpr std::string_view SUB_Z = " \u1D69 " ;
187
187
/* *
188
188
* @brief The subscript magic number (8272)
189
189
* @note This is used to check if a subscript is converted correctly, do not use this in the program.
190
190
*/
191
191
constexpr int SUB_MAGIC_NUMBER = 8272 ;
192
192
193
193
// / @brief A list of subscript characters.
194
- extern const std::array<const std::string_view& , 10 >& SUPERSCRIPTS;
194
+ extern const std::array<std::string , 10 >& SUPERSCRIPTS;
195
195
196
196
/* *
197
197
* @brief Create a subscript string from a normal string.
@@ -214,12 +214,12 @@ namespace steppable::__internals::symbols
214
214
* @brief The superscript 0 (Unicode U+2070)
215
215
* @note This is used to check if a superscript is converted correctly, do not use this in the program.
216
216
*/
217
- constexpr const std::string_view& SUP_0 = " \u2070 " ;
217
+ constexpr std::string_view SUP_0 = " \u2070 " ;
218
218
/* *
219
219
* @brief The superscript z (Unicode U+1DBB)
220
220
* @note This is used to check if a superscript is converted correctly, do not use this in the program.
221
221
*/
222
- constexpr const std::string_view& SUP_Z = " \u1DBB " ;
222
+ constexpr std::string_view SUP_Z = " \u1DBB " ;
223
223
/* *
224
224
* @brief The superscript magic number (8304)
225
225
* @note This is used to check if a superscript is converted correctly, do not use this in the program.
0 commit comments