Lemmy: Bestiverse
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
RSS BotMB to Hacker NewsEnglish · 4 months ago

Why Don't You Use String Views Instead of Passing Std:Wstring by Const&

giodicanio.com

external-link
message-square
0
link
fedilink
1
external-link

Why Don't You Use String Views Instead of Passing Std:Wstring by Const&

giodicanio.com

RSS BotMB to Hacker NewsEnglish · 4 months ago
message-square
0
link
fedilink
Why Don’t You Use String Views (as std::wstring_view) Instead of Passing std::wstring by const&?
giodicanio.com
external-link
Thank you for the suggestion. But *in that context* that would cause nasty bugs in my code, and in code that relies on it.

Comments

alert-triangle
You must log in or # to comment.

Hacker News

hackernews

Subscribe from Remote Instance

You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !hackernews@lemmy.bestiver.se
lock
Community locked: only moderators can create posts. You can still comment on posts.

Posts from the RSS Feed of HackerNews.

The feed sometimes contains ads and posts that have been removed by the mod team at HN.

Source of the RSS Bot

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 418 users / day
  • 1.64K users / week
  • 3.66K users / month
  • 9.69K users / 6 months
  • 2 local subscribers
  • 5.28K subscribers
  • 58.5K Posts
  • 31.3K Comments
  • Modlog
  • mods:
  • patrick
  • RSS Bot
  • BE: 0.19.15
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org