SOREFPTR(3coin4)
πΈ 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 aT *p. Straight to the point, she knows what she wants.SoRefPtr (const SoRefPtr &other)β the copy constructor, and it takes aconst SoRefPtr &other. iconic behaviour honestly.SoRefPtr (SoRefPtr &&other) noexceptβ move constructor energy π¦ takes anSoRefPtr &&other, and yes it's markednoexcept. she said "I don't throw", we stan.SoRefPtr & operator= (SoRefPtr other) noexceptβ assignment operator, takes anSoRefPtr other, returnsSoRefPtr &, and it'snoexcept. lowkey a whole moment.void reset (T *p=NULL)βvoidreturn, takes aT *pand the default isNULL. resetting era fr fr.T * get (void) const noexceptβ takesvoid(so like, nothing, she needs no input π), it'sconst, it'snoexcept, and it hands you back aT *.T & operator* (void) constβ the star operator β¨ takesvoid, isconst, and gives you aT &. that's the whole thing.T * operator-> (void) const noexceptβ the arrow operator πΉ takesvoid,const,noexcept, returns aT *. slay.operator bool (void) const noexceptβ bool conversion, takesvoid,const,noexcept. main character energy, no notes.void swap (SoRefPtr &other) noexceptβ takes anSoRefPtr &other, returnsvoid, and it'snoexcept. 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
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms