2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 // $Id: ArenaHandleBase.icc 470529 2011-11-24 23:54:22Z ssnyder $
7 * @file AthAllocators/ArenaHandleBase.icc
10 * @brief Base class for all @c Handle classes, containing parts that
11 * do not depend on the referenced type.
12 * Inline implementations.
20 * @brief Return the current Allocator which we are referencing.
22 * This may cause a new Allocator to be created.
24 * This is on the fast path for allocations, so keep it small and inline.
27 ArenaAllocatorBase* ArenaHandleBase::baseAllocator()
29 return m_allocator.get();
34 * @brief Return the current Allocator which we are referencing.
36 * This may cause a new Allocator to be created.
38 * This is on the fast path for allocations, so keep it small and inline.
41 const ArenaAllocatorBase* ArenaHandleBase::baseAllocator() const
43 return m_allocator.get();