BS 0.0.1 [Runtime]/Generics

This commit is contained in:
ninemine
2025-06-12 14:59:06 +08:00
parent 9ed07d07c5
commit 2cdf5db037
8 changed files with 56 additions and 97 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,16 @@
#pragma once
#ifndef Convention_Runtime_Generics_NTree_hpp
#define Convention_Runtime_Generics_NTree_hpp
#include"Config.hpp"
namespace Convention
{
namespace Generics
{
}
}
#endif Convention_Runtime_Generics_NTree_hpp

View File

@@ -0,0 +1,21 @@
#pragma once
#ifndef Convention_Runtime_Generics_Sequence_hpp
#define Convention_Runtime_Generics_Sequence_hpp
#include"Config.hpp"
namespace Convention
{
namespace Generics
{
template<typename Element, size_t size>
using Array = std::array<Element, size>;
template<typename Element, template<typename> class Allocator>
using Vector = std::vector<Element, Allocator<Element>>;
}
}
#endif Convention_Runtime_Generics_Sequence_hpp