You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ISO C++ Standard - Future Proposals, lnal...@gmail.com
That post gives a good reason for why not to have such an overload: to eventually support lazy evaluation. If you implement non-lazy operations now, then they will be non-lazy... forever.
That being said, you could still provoke non-lazy evaluation in cases where you're only combining `string_view`. So if you want lazy-evaluation, you would construct a `string_view` from the `std::string`. This would also allow any string that can be converted into a `string_view` to support lazy evaluation (so long as it also supports construction from the lazy evaluation results).
Olaf van der Spek
unread,
Jan 3, 2017, 12:51:54 PM1/3/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to std-pr...@isocpp.org, Laurent Navarro
Luckily the operators can be defined by the user but it's still an
annoying gap in the current standard.
--
Olaf
Jakob Riedle
unread,
Apr 29, 2017, 6:38:11 PM4/29/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ISO C++ Standard - Future Proposals, lnal...@gmail.com, olafv...@gmail.com
If you implement non-lazy operations now, then they will be non-lazy... forever.
Has there been any proposal that adds lazy evaluation to string concatenations?
--
Jakob
ol...@join.cc
unread,
May 24, 2017, 5:19:08 AM5/24/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ISO C++ Standard - Future Proposals, lnal...@gmail.com, olafv...@gmail.com
Op zondag 30 april 2017 00:38:11 UTC+2 schreef Jakob Riedle:
If you implement non-lazy operations now, then they will be non-lazy... forever.
Has there been any proposal that adds lazy evaluation to string concatenations?