replace std::vector globally

This commit is contained in:
yyc12345 2023-09-16 22:42:08 +08:00
parent 3c8266e7dd
commit 23da6c9e3e
3 changed files with 1 additions and 16 deletions

View File

@ -105,7 +105,7 @@ namespace LibCmo::CK2 {
void SetEncoding(const XContainer::XArray<XContainer::XString> encoding_series);
protected:
std::vector<EncodingHelper::ENCODING_TOKEN> m_NameEncoding;
XContainer::XArray<EncodingHelper::ENCODING_TOKEN> m_NameEncoding;
// ========== Print utilities ==========
public:

View File

@ -73,20 +73,6 @@ namespace LibCmo {
*/
using CKDOUBLE = double;
/**
* @brief The bool type used by LibCmo.
* Generally it is just C++ bool.
*/
using CKBOOL = bool;
/**
* @brief The True value of CKBOOL.
*/
constexpr CKBOOL CKTRUE = true;
/**
* @brief The False value of CKBOOL.
*/
constexpr CKBOOL CKFALSE = false;
/**
* @brief Represent a x86 Platform Pointer.
* @remark

View File

@ -22,7 +22,6 @@ namespace LibCmo::XContainer {
@brief Set of bit flags.
@remark
+ This class now use specialized std::vector<bool>.
+ Do not use CKBOOL, because we want make sure it enable specialized std::vector<bool>.
*/
using XBitArray = std::vector<bool>;