SOREFPTR(3coin4)

πŸ“¦
version 4.0.10 Β· 2 versions
, in fedora 43, fedora 44

🌸 NAME 🌸

SoRefPtr< T > β€” bestie, this is a page from the Coin manual, section 3, and it's literally all about that SoRefPtr< T > life. No long dramatic intro, the name IS the whole vibe. Periodt. πŸ’…


✨ SYNOPSIS ✨

🫢 Public Member Functions 🫢

SoRefPtr (T *p)
SoRefPtr (const SoRefPtr &other)
SoRefPtr (SoRefPtr &&other) noexcept
SoRefPtr & operator= (SoRefPtr other) noexcept
void reset (T *p=NULL)
T * get (void) const noexcept
T & operator* (void) const
T * operator-> (void) const noexcept
operator bool (void) const noexcept
void swap (SoRefPtr &other) noexcept

okay so let's break the whole roster down one by one, no skips, no gatekeeping πŸŽ€

  • SoRefPtr (T *p) β€” constructor that takes a T *p. Straight to the point, she knows what she wants.
  • SoRefPtr (const SoRefPtr &other) β€” the copy constructor, and it takes a const SoRefPtr &other. iconic behaviour honestly.
  • SoRefPtr (SoRefPtr &&other) noexcept β€” move constructor energy πŸ¦‹ takes an SoRefPtr &&other, and yes it's marked noexcept. she said "I don't throw", we stan.
  • SoRefPtr & operator= (SoRefPtr other) noexcept β€” assignment operator, takes an SoRefPtr other, returns SoRefPtr &, and it's noexcept. lowkey a whole moment.
  • void reset (T *p=NULL) β€” void return, takes a T *p and the default is NULL. resetting era fr fr.
  • T * get (void) const noexcept β€” takes void (so like, nothing, she needs no input πŸ’€), it's const, it's noexcept, and it hands you back a T *.
  • T & operator* (void) const β€” the star operator ✨ takes void, is const, and gives you a T &. that's the whole thing.
  • T * operator-> (void) const noexcept β€” the arrow operator 🏹 takes void, const, noexcept, returns a T *. slay.
  • operator bool (void) const noexcept β€” bool conversion, takes void, const, noexcept. main character energy, no notes.
  • void swap (SoRefPtr &other) noexcept β€” takes an SoRefPtr &other, returns void, and it's noexcept. swapping with your bestie 🀝
ngl bestie, every one of these is listed exactly as written up there in the synopsis β€” don't let me catch you inventing extra flags, because there aren't any. πŸ™ˆ

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Coin from the source code.


and that's the whole page, babe πŸ§šπŸ’œ it came from Coin, version 4.0.10, dated Thu Jun 25 2026 00:00:00 β€” so when you're out here living your SoRefPtr< T > truth, that's who to thank. mwah, go forth and compile responsibly. πŸ’–πŸŒˆβ­

πŸ“¦ where this page comes from