public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-8293] libstdc++: Do not use CTAD for _Utf32_view alias template (redux)
@ 2024-01-19 19:13 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2024-01-19 19:13 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:631a922e5c8578a1c878b69f1651d482b661ef4a

commit r14-8293-g631a922e5c8578a1c878b69f1651d482b661ef4a
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Fri Jan 19 14:31:48 2024 +0000

    libstdc++: Do not use CTAD for _Utf32_view alias template (redux)
    
    My change in r14-8181-g665a3ff1539ce2 was incomplete as there's a second
    place using CTAD with the _Utf32_view alias template. This fixes it.
    
    libstdc++-v3/ChangeLog:
    
            * include/std/format (_Spec::_M_parse_fill_and_align): Do not
            use CTAD for _Utf32_view.

Diff:
---
 libstdc++-v3/include/std/format | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libstdc++-v3/include/std/format b/libstdc++-v3/include/std/format
index efc4a17ba36..f4d91517656 100644
--- a/libstdc++-v3/include/std/format
+++ b/libstdc++-v3/include/std/format
@@ -434,7 +434,7 @@ namespace __format
 	    if constexpr (__literal_encoding_is_unicode<_CharT>())
 	      {
 		// Accept any UCS scalar value as fill character.
-		_Utf32_view __uv(ranges::subrange(__first, __last));
+		_Utf32_view<ranges::subrange<iterator>> __uv({__first, __last});
 		if (!__uv.empty())
 		  {
 		    auto __beg = __uv.begin();

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-19 19:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-19 19:13 [gcc r14-8293] libstdc++: Do not use CTAD for _Utf32_view alias template (redux) Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).