Lemmy きゃ/kya.moe
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
lysdexic@programming.devM to C++@programming.devEnglish · 6 months ago

How to avoid one C++ foot gun

pboyd.io

external-link
message-square
15
fedilink
4
external-link

How to avoid one C++ foot gun

pboyd.io

lysdexic@programming.devM to C++@programming.devEnglish · 6 months ago
message-square
15
fedilink
C++'s implicit copy and move behavior offer an excellent way to shoot yourself in the foot. Here's an example of how they can create a double-free and how to avoid it.
  • hardkorebob@programming.dev
    link
    fedilink
    arrow-up
    4
    arrow-down
    10
    ·
    6 months ago

    Avoid Cpp period.

    • lysdexic@programming.devOPM
      link
      fedilink
      English
      arrow-up
      3
      ·
      6 months ago

      You’re making a very poor example by subscribing to !cpp@programming.dev

    • vzq@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      1
      ·
      6 months ago

      Also avoid /c/cpp

C++@programming.dev

cpp@programming.dev

Subscribe from Remote Instance

Create a post
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: !cpp@programming.dev

The center for all discussion and news regarding C++.

Rules

  • Respect instance rules.
  • Don’t be a jerk.
  • Please keep all posts related to C++.
Visibility: Public
globe

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

  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 213 users / 6 months
  • 0 local subscribers
  • 1.7K subscribers
  • 245 Posts
  • 438 Comments
  • Modlog
  • mods:
  • farados@vlemmy.net
  • Nihili0@programming.dev
  • lysdexic@programming.dev
  • BE: 0.19.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org