Compare commits
No commits in common. "aab6379936d69ea5964e5ec969df234caf7d64fa" and "1438aaede3ff7bb301296b64c9dd7e32cfd533a2" have entirely different histories.
aab6379936
...
1438aaede3
|
|
@ -1,11 +1,5 @@
|
|||
# Change Log
|
||||
|
||||
### ? - ?
|
||||
|
||||
##### Additions :tada:
|
||||
|
||||
- Added `bool` and `std::string_view` overloads for `PropertyArrayCopy`.
|
||||
|
||||
### v0.54.0 - 2025-11-17
|
||||
|
||||
##### Additions :tada:
|
||||
|
|
|
|||
|
|
@ -271,10 +271,7 @@ public:
|
|||
this->_storage[byteIndex] = std::byte(byte);
|
||||
}
|
||||
|
||||
this->_view = PropertyArrayView<bool>(
|
||||
this->_storage,
|
||||
0,
|
||||
static_cast<int64_t>(numberOfElements));
|
||||
this->_view = PropertyArrayView<bool>(this->_storage, 0, numberOfElements);
|
||||
}
|
||||
|
||||
/** @brief Default move constructor */
|
||||
|
|
@ -488,17 +485,17 @@ public:
|
|||
this->_storage.resize(stringData.size() + offsetData.size());
|
||||
std::memcpy(this->_storage.data(), stringData.data(), stringData.size());
|
||||
std::memcpy(
|
||||
this->_storage.data() + static_cast<int64_t>(stringData.size()),
|
||||
this->_storage.data() + stringData.size(),
|
||||
offsetData.data(),
|
||||
offsetData.size());
|
||||
|
||||
this->_view = PropertyArrayView<std::string_view>(
|
||||
std::span<const std::byte>(this->_storage.begin(), stringData.size()),
|
||||
std::span<const std::byte>(
|
||||
this->_storage.begin() + static_cast<int64_t>(stringData.size()),
|
||||
this->_storage.begin() + stringData.size(),
|
||||
offsetData.size()),
|
||||
offsetType,
|
||||
static_cast<int64_t>(numberOfElements));
|
||||
numberOfElements);
|
||||
}
|
||||
|
||||
/** @brief Default move constructor */
|
||||
|
|
@ -514,7 +511,7 @@ public:
|
|||
this->_view = PropertyArrayView<std::string_view>(
|
||||
std::span<const std::byte>(this->_storage.begin(), valueSpanSize),
|
||||
std::span<const std::byte>(
|
||||
this->_storage.begin() + static_cast<int64_t>(valueSpanSize),
|
||||
this->_storage.begin() + valueSpanSize,
|
||||
this->_storage.end()),
|
||||
rhs._view._stringOffsetType,
|
||||
rhs._view.size());
|
||||
|
|
@ -528,7 +525,7 @@ public:
|
|||
this->_view = PropertyArrayView<std::string_view>(
|
||||
std::span<const std::byte>(this->_storage.begin(), valueSpanSize),
|
||||
std::span<const std::byte>(
|
||||
this->_storage.begin() + static_cast<int64_t>(valueSpanSize),
|
||||
this->_storage.begin() + valueSpanSize,
|
||||
this->_storage.end()),
|
||||
rhs._view._stringOffsetType,
|
||||
rhs._view.size());
|
||||
|
|
|
|||
Loading…
Reference in New Issue