libcruft-util/alloc/fwd.hpp

32 lines
729 B
C++

/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Copyright 2016 Danny Robson <danny@nerdcruft.net>
*/
#pragma once
namespace cruft::alloc {
namespace raw {
class affix;
class fallback;
class linear;
class malloc;
class null;
class stack;
class dynamic;
namespace aligned {
template <typename AllocT> class foreign;
template <typename AllocT> class direct;
}
}
template <typename T> class arena;
template <typename B, typename T> class allocator;
}