Well yeah, if you passed a reference then once the original is destroyed it would be null. The real trick is to make a copy and destroy the original reference at the same time, that way it never knows it wasn’t the original.

I think you mean std::move

get your std away from me sir

I dunno. I could be quite happy having brain children or as a copy of a consciousness at a given point in time.

Dwemthy (he/him)
link
fedilink
English
79M

I want Transmetropolitan style burning my body to create the energy to boot up the nanobot swarm that my consciousness was just uploaded to

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 74 users / day
  • 162 users / week
  • 601 users / month
  • 2.27K users / 6 months
  • 1 subscriber
  • 1.65K Posts
  • 36.6K Comments
  • Modlog