[*/+] Fix AuArray detection in some third party library by introducing AuArray<T, N>::insert(itr, copy)
[*] Rename ArrayList to AuLinkedList
This commit is contained in:
parent
a105bdeb31
commit
75fddc41d9
@ -366,6 +366,22 @@ struct AuArray
|
||||
return this->elements;
|
||||
}
|
||||
|
||||
// required for MSVC std::inserter. some serialization libraries will accept this type, and then break during deserialization over this.
|
||||
T *insert(T *pLocation, const T ©)
|
||||
{
|
||||
// TODO: AuResetMember
|
||||
*pLocation = copy;
|
||||
return pLocation;
|
||||
}
|
||||
|
||||
T *insert(T *pLocation, T &©)
|
||||
{
|
||||
// TODO: AuResetMember
|
||||
*pLocation = AuMove(copy);
|
||||
return pLocation;
|
||||
}
|
||||
|
||||
|
||||
// oh look, its that feature in that nearly 30 year old programming language intended to replace xerox alto's OOP language for the internet era.
|
||||
AuUInt HashCode() const
|
||||
{
|
||||
|
@ -1,6 +1,7 @@
|
||||
/***
|
||||
Copyright (C) 2023 J Reece Wilson (a/k/a "Reece"). All rights reserved.
|
||||
|
||||
File: auLinkedList.hpp
|
||||
File: auArrayList.hpp
|
||||
Date: 2023-1-18
|
||||
Author: Reece
|
||||
@ -12,4 +13,4 @@
|
||||
#endif
|
||||
|
||||
template <class T>
|
||||
using AuArrayList = AURORA_RUNTIME_AU_ARRAY_LIST<T>;
|
||||
using AuLinkedList = AURORA_RUNTIME_AU_ARRAY_LIST<T>;
|
@ -170,7 +170,7 @@ namespace __audetail
|
||||
#include <auROXTL/auBST.hpp>
|
||||
#include <auROXTL/auVector.hpp>
|
||||
#include <auROXTL/auArray.hpp>
|
||||
#include <auROXTL/auArrayList.hpp>
|
||||
#include <auROXTL/auLinkedList.hpp>
|
||||
#include <auROXTL/auAtomic.hpp>
|
||||
#include <auROXTL/MemoryModel/auMemoryView.hpp>
|
||||
#include <auROXTL/auOptional.hpp>
|
||||
|
Loading…
Reference in New Issue
Block a user