Add Task Graph

This commit is contained in:
Wojtek Figat
2021-06-12 22:43:37 +02:00
parent 25c00a0d55
commit d7e7dcc823
3 changed files with 215 additions and 11 deletions

View File

@@ -493,17 +493,8 @@ public:
/// Adds the other collection to the collection.
/// </summary>
/// <param name="other">The other collection to add.</param>
FORCE_INLINE void Add(const Array& other)
{
Add(other.Get(), other.Count());
}
/// <summary>
/// Adds the other collection to the collection.
/// </summary>
/// <param name="other">The other collection to add.</param>
template<typename U>
FORCE_INLINE void Add(const Array<U>& other)
template<typename OtherT, typename OtherAllocationType = HeapAllocation>
FORCE_INLINE void Add(const Array<OtherT, OtherAllocationType>& other)
{
Add(other.Get(), other.Count());
}