aGrUM  0.20.3
a C++ library for (probabilistic) graphical models
smallObjectAllocator.h File Reference

Copyright (c) 2005-2021 by Pierre-Henri WUILLEMIN() & Christophe GONZALES() info_at_agrum_dot_org. More...

+ Include dependency graph for smallObjectAllocator.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  gum::SmallObjectAllocator
 <agrum/tools/core/smallObjectAllocator.h> More...
 

Namespaces

 gum
 Copyright (c) 2005-2021 by Pierre-Henri WUILLEMIN() & Christophe GONZALES() info_at_agrum_dot_org.
 

Macros

#define SOA_ALLOCATE(x)   SmallObjectAllocator::instance().allocate(x)
 
#define SOA_DEALLOCATE(x, y)   SmallObjectAllocator::instance().deallocate(x, y)
 

Detailed Description

Copyright (c) 2005-2021 by Pierre-Henri WUILLEMIN() & Christophe GONZALES() info_at_agrum_dot_org.

This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library. If not, see http://www.gnu.org/licenses/.

Headers of gum::SmallObjectAllocator

Author
Pierre-Henri WUILLEMIN() and Jean-Christophe MAGNAN and Christophe GONZALES()

Definition in file smallObjectAllocator.h.

Macro Definition Documentation

◆ SOA_ALLOCATE

#define SOA_ALLOCATE (   x)    SmallObjectAllocator::instance().allocate(x)

Definition at line 158 of file smallObjectAllocator.h.

◆ SOA_DEALLOCATE

#define SOA_DEALLOCATE (   x,
 
)    SmallObjectAllocator::instance().deallocate(x, y)

Definition at line 159 of file smallObjectAllocator.h.