C++ Logo

std-proposals

Advanced search

Re: [std-proposals] [floating an idea]Allow construct basic_string_view from any contiguous_range of charT

From: 李 秋逸 <QiuyiLi1023_at_[hidden]>
Date: Sat, 19 Apr 2025 19:01:54 +0000
That means it is not important. What I want to show is that the sub-range made from split_view can't put into the transform view.

获取Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: Std-Proposals <std-proposals-bounces_at_[hidden]> on behalf of Sebastian Wittmeier via Std-Proposals <std-proposals_at_[hidden]>
Sent: Sunday, April 20, 2025 2:52:35 AM
To: std-proposals_at_[hidden] <std-proposals_at_lists.isocpp.org>
Cc: Sebastian Wittmeier <wittmeier_at_projectalpha.org>
Subject: Re: [std-proposals] [floating an idea]Allow construct basic_string_view from any contiguous_range of charT


/* */ are comments.

Or what do you mean?



-----Ursprüngliche Nachricht-----
Von: 李 秋逸 via Std-Proposals <std-proposals_at_[hidden]>
Gesendet: Sa 19.04.2025 20:46
Betreff: [std-proposals] [floating an idea]Allow construct basic_string_view from any contiguous_range of charT
An: std-proposals_at_lists.isocpp.org;
CC: 李 秋逸 <QiuyiLi1023_at_[hidden]>;
The code below is an error, that is strange.

string str = /* ... */;
auto vw = str|split('.')|transform([](string_view sv){/* ... */});

获取Outlook for Android<https://aka.ms/AAb9ysg>


--
 Std-Proposals mailing list
 Std-Proposals_at_[hidden]
 https://lists.isocpp.org/mailman/listinfo.cgi/std-proposals

Received on 2025-04-19 19:01:59