OpenSiv3D  v0.6.5
C++20 framework for creative coding
s3d::DefaultAllocator< Type > Struct Template Reference

メモリアライメントを考慮したデフォルトのアロケータ More...

#include <Allocator.hpp>

Public Types

using type = std::conditional_t< IsOverAligned_v< Type >, Allocator< Type >, std::allocator< Type > >
 

Detailed Description

template<class Type>
struct s3d::DefaultAllocator< Type >

メモリアライメントを考慮したデフォルトのアロケータ

Template Parameters
Typeアロケーションするオブジェクトの型

Member Typedef Documentation

◆ type

template<class Type >
using s3d::DefaultAllocator< Type >::type = std::conditional_t<IsOverAligned_v<Type>, Allocator<Type>, std::allocator<Type> >

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