Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Inkscape::GC::Managed< default_scan, default_collect > Class Template Reference

A base class for objects for whom the normal new and delete operators should use the garbage-collected allocator. More...

#include <gc-managed.h>

Inheritance diagram for Inkscape::GC::Managed< default_scan, default_collect >:
Inkscape::XML::AttributeRecord Inkscape::XML::CompositeNodeObserver Inkscape::XML::SimpleNode Inkscape::XML::CommentNode Inkscape::XML::ElementNode Inkscape::XML::PINode Inkscape::XML::SimpleDocument Inkscape::XML::TextNode

Public Member Functions

void * operator new (std::size_t size, ScanPolicy scan=default_scan, CollectionPolicy collect=default_collect)
 
void * operator new[] (std::size_t size, ScanPolicy scan=default_scan, CollectionPolicy collect=default_collect)
 
void operator delete (void *p)
 

Detailed Description

template<ScanPolicy default_scan = SCANNED, CollectionPolicy default_collect = AUTO>
class Inkscape::GC::Managed< default_scan, default_collect >

A base class for objects for whom the normal new and delete operators should use the garbage-collected allocator.

Definition at line 27 of file gc-managed.h.

Member Function Documentation

◆ operator delete()

template<ScanPolicy default_scan = SCANNED, CollectionPolicy default_collect = AUTO>
void Inkscape::GC::Managed< default_scan, default_collect >::operator delete ( void *  p)
inline

Definition at line 43 of file gc-managed.h.

References Inkscape::GC::GC.

◆ operator new()

template<ScanPolicy default_scan = SCANNED, CollectionPolicy default_collect = AUTO>
void * Inkscape::GC::Managed< default_scan, default_collect >::operator new ( std::size_t  size,
ScanPolicy  scan = default_scan,
CollectionPolicy  collect = default_collect 
)
inline

Definition at line 29 of file gc-managed.h.

References Inkscape::size.

◆ operator new[]()

template<ScanPolicy default_scan = SCANNED, CollectionPolicy default_collect = AUTO>
void * Inkscape::GC::Managed< default_scan, default_collect >::operator new[] ( std::size_t  size,
ScanPolicy  scan = default_scan,
CollectionPolicy  collect = default_collect 
)
inline

Definition at line 36 of file gc-managed.h.

References Inkscape::size.


The documentation for this class was generated from the following file: