This allows us to add features to freestanding which allow specifying
non-default allocators (generators, collections, ...) without having to
modify them.
libstdc++-v3/ChangeLog:
* include/bits/memoryfwd.h: Remove HOSTED check around allocator
and its specializations.
* @{
*/
-#if _GLIBCXX_HOSTED
+ // Included in freestanding as a libstdc++ extension.
template<typename>
class allocator;
template<>
class allocator<void>;
-#endif
#if __cplusplus >= 201103L
/// Declare uses_allocator so it can be specialized in `<queue>` etc.