Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

String and string_view

24 views
Skip to first unread message

woodb...@gmail.com

unread,
Dec 11, 2016, 12:20:37 AM12/11/16
to
Shalom

I tried calling std::string::append with a string_view, but the
compiler rejected it. It seems like there should be support
for that. I wound up having to call the data() and size()
functions on string_view and pass that on to append. Maybe
support for that has been added, but is only available in newer
compilers? G-d willing a new version of TrueOS -- trueos.org --
\will land soon...


Brian
Ebenezer Enterprises - In G-d we trust.
http://webEbenezer.net

Melzzzzz

unread,
Dec 11, 2016, 12:25:37 AM12/11/16
to
How to solve mouse wheel up scrolling and making back action in firefox
in TrueOS? Also in thunderbird mouse wheel up does not scrolls smooth
rather goes immediately in beginning of article. I have found question
in google but no answer.

--
press any key to continue or any other to quit...

Bo Persson

unread,
Dec 11, 2016, 5:58:57 AM12/11/16
to
On 2016-12-11 06:20, woodb...@gmail.com wrote:
> Shalom
>
> I tried calling std::string::append with a string_view, but the
> compiler rejected it. It seems like there should be support
> for that. I wound up having to call the data() and size()
> functions on string_view and pass that on to append. Maybe
> support for that has been added, but is only available in newer
> compilers? G-d willing a new version of TrueOS -- trueos.org --
> \will land soon...
>

There is support for that, but only in C++17. Not yet available everywhere.


Bo Persson


0 new messages