Text Rendering works

This commit is contained in:
Dynamitos
2022-04-15 23:45:44 +02:00
parent eb23264c40
commit 03e1a5784d
70 changed files with 1178 additions and 476 deletions
+3 -3
View File
@@ -247,8 +247,8 @@ public:
}
return endIt;
}
//template<class F, class... Args, std::predicate<F, Args...> Pred>
template<class Pred>
requires std::predicate<Pred, value_type>
constexpr iterator find(Pred pred) const noexcept
{
for (size_type i = 0; i < arraySize; ++i)
@@ -337,9 +337,9 @@ public:
}
constexpr void remove(iterator it, bool keepOrder = true)
{
remove(it - beginIt, keepOrder);
removeAt(it - beginIt, keepOrder);
}
constexpr void remove(size_type index, bool keepOrder = true)
constexpr void removeAt(size_type index, bool keepOrder = true)
{
if (keepOrder)
{
+2 -2
View File
@@ -232,16 +232,16 @@ public:
, root(other.root)
, _size(other._size)
, comp(other.comp)
, iteratorsDirty(true)
{
markIteratorsDirty();
}
constexpr Map(Map&& other) noexcept
: nodeContainer(std::move(other.nodeContainer))
, root(std::move(other.root))
, _size(std::move(other._size))
, comp(std::move(other.comp))
, iteratorsDirty(true)
{
markIteratorsDirty();
}
constexpr ~Map() noexcept
{