@@ -201,27 +201,13 @@ namespace detail_utf_rvalue_shim {
201201
202202 bp::detail::utf_rvalue_shim<std::u8string, decltype (f_u16str), attr_t>
203203 u8_u16_shim(f_u16str);
204- #if BOOST_PARSER_DETAIL_TEXT_USE_ALIAS_CTAD
205- static_assert (std::is_same_v<
206- decltype (u8_u16_shim(attr_t {})),
207- bp::detail::text::utf_view<
208- bp::detail::text::format::utf8,
209- std::ranges::owning_view<std::u16string>> &>);
210- #endif
211204 static_assert (bp::detail::transform_replacement_for<
212205 decltype (u8_u16_shim),
213206 std::u8string,
214207 decltype(ints_p.parser_)>);
215208
216209 bp::detail::utf_rvalue_shim<std::u8string, decltype (f_u16str_ref), attr_t>
217210 u8_u16_ref_shim(f_u16str_ref);
218- #if BOOST_PARSER_DETAIL_TEXT_USE_ALIAS_CTAD
219- static_assert (std::is_same_v<
220- decltype (u8_u16_ref_shim(attr_t {})),
221- bp::detail::text::utf_view<
222- bp::detail::text::format::utf8,
223- std::ranges::ref_view<std::u16string>> &>);
224- #endif
225211 static_assert (bp::detail::transform_replacement_for<
226212 decltype (u8_u16_ref_shim),
227213 std::u8string,
@@ -231,27 +217,13 @@ namespace detail_utf_rvalue_shim {
231217
232218 bp::detail::utf_rvalue_shim<std::u8string, decltype (f_u32str), attr_t>
233219 u8_u32_shim(f_u32str);
234- #if BOOST_PARSER_DETAIL_TEXT_USE_ALIAS_CTAD
235- static_assert (std::is_same_v<
236- decltype (u8_u32_shim(attr_t {})),
237- bp::detail::text::utf_view<
238- bp::detail::text::format::utf8,
239- std::ranges::owning_view<std::u32string>> &>);
240- #endif
241220 static_assert (bp::detail::transform_replacement_for<
242221 decltype (u8_u32_shim),
243222 std::u8string,
244223 decltype(ints_p.parser_)>);
245224
246225 bp::detail::utf_rvalue_shim<std::u8string, decltype (f_u32str_ref), attr_t>
247226 u8_u32_ref_shim(f_u32str_ref);
248- #if BOOST_PARSER_DETAIL_TEXT_USE_ALIAS_CTAD
249- static_assert (std::is_same_v<
250- decltype (u8_u32_ref_shim(attr_t {})),
251- bp::detail::text::utf_view<
252- bp::detail::text::format::utf8,
253- std::ranges::ref_view<std::u32string>> &>);
254- #endif
255227 static_assert (bp::detail::transform_replacement_for<
256228 decltype (u8_u32_ref_shim),
257229 std::u8string,
@@ -261,27 +233,13 @@ namespace detail_utf_rvalue_shim {
261233
262234 bp::detail::utf_rvalue_shim<std::u16string, decltype (f_u8str), attr_t>
263235 u16_u8_shim(f_u8str);
264- #if BOOST_PARSER_DETAIL_TEXT_USE_ALIAS_CTAD
265- static_assert (std::is_same_v<
266- decltype (u16_u8_shim(attr_t {})),
267- bp::detail::text::utf_view<
268- bp::detail::text::format::utf16,
269- std::ranges::owning_view<std::u8string>> &>);
270- #endif
271236 static_assert (bp::detail::transform_replacement_for<
272237 decltype (u16_u8_shim),
273238 std::u16string,
274239 decltype(ints_p.parser_)>);
275240
276241 bp::detail::utf_rvalue_shim<std::u16string, decltype (f_u8str_ref), attr_t>
277242 u16_u8_ref_shim(f_u8str_ref);
278- #if BOOST_PARSER_DETAIL_TEXT_USE_ALIAS_CTAD
279- static_assert (std::is_same_v<
280- decltype (u16_u8_ref_shim(attr_t {})),
281- bp::detail::text::utf_view<
282- bp::detail::text::format::utf16,
283- std::ranges::ref_view<std::u8string const >> &>);
284- #endif
285243 static_assert (bp::detail::transform_replacement_for<
286244 decltype (u16_u8_ref_shim),
287245 std::u16string,
@@ -291,27 +249,13 @@ namespace detail_utf_rvalue_shim {
291249
292250 bp::detail::utf_rvalue_shim<std::u32string, decltype (f_u8str), attr_t>
293251 u32_u8_shim(f_u8str);
294- #if BOOST_PARSER_DETAIL_TEXT_USE_ALIAS_CTAD
295- static_assert (std::is_same_v<
296- decltype (u32_u8_shim(attr_t {})),
297- bp::detail::text::utf_view<
298- bp::detail::text::format::utf32,
299- std::ranges::owning_view<std::u8string>> &>);
300- #endif
301252 static_assert (bp::detail::transform_replacement_for<
302253 decltype (u32_u8_shim),
303254 std::u32string,
304255 decltype(ints_p.parser_)>);
305256
306257 bp::detail::utf_rvalue_shim<std::u32string, decltype (f_u8str_ref), attr_t>
307258 u32_u8_ref_shim(f_u8str_ref);
308- #if BOOST_PARSER_DETAIL_TEXT_USE_ALIAS_CTAD
309- static_assert (std::is_same_v<
310- decltype (u32_u8_ref_shim(attr_t {})),
311- bp::detail::text::utf_view<
312- bp::detail::text::format::utf32,
313- std::ranges::ref_view<std::u8string const >> &>);
314- #endif
315259 static_assert (bp::detail::transform_replacement_for<
316260 decltype (u32_u8_ref_shim),
317261 std::u32string,
@@ -341,15 +285,7 @@ namespace detail_utf_rvalue_shim {
341285
342286 bp::detail::utf_rvalue_shim<std::u16string, decltype (f_u32str), attr_t>
343287 u16_u32_shim(f_u32str);
344- #if BOOST_PARSER_USE_CONCEPTS
345- #if BOOST_PARSER_DETAIL_TEXT_USE_ALIAS_CTAD
346- static_assert (std::is_same_v<
347- decltype (u16_u32_shim(attr_t {})),
348- bp::detail::text::utf_view<
349- bp::detail::text::format::utf16,
350- std::ranges::owning_view<std::u32string>> &>);
351- #endif
352- #else
288+ #if !BOOST_PARSER_USE_CONCEPTS
353289 static_assert (
354290 std::is_same_v<
355291 decltype (u16_u32_shim(attr_t {})),
@@ -363,15 +299,7 @@ namespace detail_utf_rvalue_shim {
363299
364300 bp::detail::utf_rvalue_shim<std::u16string, decltype (f_u32str_ref), attr_t>
365301 u16_u32_ref_shim(f_u32str_ref);
366- #if BOOST_PARSER_USE_CONCEPTS
367- #if BOOST_PARSER_DETAIL_TEXT_USE_ALIAS_CTAD
368- static_assert (std::is_same_v<
369- decltype (u16_u32_ref_shim(attr_t {})),
370- bp::detail::text::utf_view<
371- bp::detail::text::format::utf16,
372- std::ranges::ref_view<std::u32string>> &>);
373- #endif
374- #else
302+ #if !BOOST_PARSER_USE_CONCEPTS
375303 static_assert (std::is_same_v<
376304 decltype (u16_u32_ref_shim(attr_t {})),
377305 bp::detail::text::utf16_view<
@@ -406,15 +334,7 @@ namespace detail_utf_rvalue_shim {
406334
407335 bp::detail::utf_rvalue_shim<std::u32string, decltype (f_u16str), attr_t>
408336 u32_u16_shim(f_u16str);
409- #if BOOST_PARSER_USE_CONCEPTS
410- #if BOOST_PARSER_DETAIL_TEXT_USE_ALIAS_CTAD
411- static_assert (std::is_same_v<
412- decltype (u32_u16_shim(attr_t {})),
413- bp::detail::text::utf_view<
414- bp::detail::text::format::utf32,
415- std::ranges::owning_view<std::u16string>> &>);
416- #endif
417- #else
337+ #if !BOOST_PARSER_USE_CONCEPTS
418338 static_assert (
419339 std::is_same_v<
420340 decltype (u32_u16_shim(attr_t {})),
@@ -428,15 +348,7 @@ namespace detail_utf_rvalue_shim {
428348
429349 bp::detail::utf_rvalue_shim<std::u32string, decltype (f_u16str_ref), attr_t>
430350 u32_u16_ref_shim(f_u16str_ref);
431- #if BOOST_PARSER_USE_CONCEPTS
432- #if BOOST_PARSER_DETAIL_TEXT_USE_ALIAS_CTAD
433- static_assert (std::is_same_v<
434- decltype (u32_u16_ref_shim(attr_t {})),
435- bp::detail::text::utf_view<
436- bp::detail::text::format::utf32,
437- std::ranges::ref_view<std::u16string>> &>);
438- #endif
439- #else
351+ #if !BOOST_PARSER_USE_CONCEPTS
440352 static_assert (std::is_same_v<
441353 decltype (u32_u16_ref_shim(attr_t {})),
442354 bp::detail::text::utf32_view<
0 commit comments