ISOSPEC_ALLOCATOR(3)

πŸ“¦
version 2.3.2 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– IsoSpec::Allocator< T > πŸ’–

okay bestie, welcome to the Library Functions Manual, section 3, and today's main character is the allocator template. no cap, it's giving "small but mighty". let's go 🫢


✨ NAME ✨

IsoSpec::Allocator< T > β€” the little memory-handler that keeps all your T-shaped configurations fed and happy 🌸


✨ SYNOPSIS ✨

πŸŽ€ Public Member Functions πŸŽ€

Allocator (const int dim, const int tabSize=10000)
Allocator (const Allocator &other)=delete
Allocator & operator= (const Allocator &other)=delete
void shiftTables ()
T * newConf ()
T * makeCopy (const T *conf)

🌈 Detailed Description 🌈

so here's the vibe:

template<typename T>
    class IsoSpec::Allocator< T >"
πŸ’€ yes bestie, that trailing quote mark is literally in the original, I am not the one who did that. we keep it. we respect it. it's iconic.

Definition at line 33 of file allocator.h.


🧚 Constructor & Destructor Documentation 🧚

⭐ template<typename T> IsoSpec::Allocator< T >::Allocator (const int dim, const int tabSize = 10000) [explicit]

the glow-up constructor. it's [explicit] so no sneaky implicit conversions, periodt. Definition at line 24 of file allocator.cpp.

⭐ template<typename T> IsoSpec::Allocator< T >::~Allocator ()

the goodbye era 😭 Definition at line 28 of file allocator.cpp.


πŸ’… Member Function Documentation πŸ’…

  • template<typename T> T * IsoSpec::Allocator< T >::makeCopy (const T * conf) [inline] β€” makes a copy, obviously, it's right there in the name bestie ✨ Definition at line 60 of file allocator.h.
  • template<typename T> T * IsoSpec::Allocator< T >::newConf () [inline] β€” hands you a fresh new conf, no thoughts, just vibes πŸ¦‹ Definition at line 50 of file allocator.h.
  • template<typename T> void IsoSpec::Allocator< T >::shiftTables () β€” shifts the tables πŸ’€ yes that's the whole description, we don't elaborate, we don't speculate, we just report. Definition at line 42 of file allocator.cpp.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for IsoSpec from the source code.


and that's the whole page, bestie πŸ’– no notes, ate and left no crumbs. this was the IsoSpec manual, IsoSpec::Allocator< T >(3), and if you need me I'll be in the group chat explaining templates again πŸŒΈβœ¨πŸŽ€

πŸ“¦ where this page comes from