programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
lysdexicM to C++English · 1 year ago

How to avoid one C++ foot gun

pboyd.io

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

How to avoid one C++ foot gun

pboyd.io

lysdexicM to C++English · 1 year ago
message-square
15
link
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.
  • lysdexicOPM
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    You’re making a very poor example by subscribing to [email protected]

C++

cpp

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: [email protected]

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
  • 23 users / week
  • 43 users / month
  • 201 users / 6 months
  • 513 local subscribers
  • 2.01K subscribers
  • 290 Posts
  • 620 Comments
  • Modlog
  • mods:
  • lysdexic
  • farados@vlemmy.net
  • Nihili0
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org