You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Code/Framework/AzCore/Tests/AZStd
lumberyard-employee-dm b9824ed172
Updated all array_view uses with the C++20 span. (#7157)
* Updated all array_view uses with the C++20 span.

The updates were done in the following order
1. `AZStd::array_view<([^>].+)\* ?>`  -> `AZStd::span<\1 const>`
2. `AZStd::array_view<(?:const )(.+)>` -> `AZStd::span<const \1>`
3. `AZStd::array_view` -> `AZStd::span`

Removed the implementation of array_view.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Added missing whitespace between `const` and the typename for spans.

Updated the ShaderTest comparison of the ShaderResourceGroupLayout span
to compare the sizes as well

Updated comments on some of the methods that stated that they return "an
array" to mention they return "a span".

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
4 years ago
..
Algorithms.cpp Code/Framework/AzCore 4 years ago
Allocators.cpp Added a max_size function to all AZStd container style allocator functions (#4106) 4 years ago
Any.cpp Android fixes 4 years ago
Atomics.cpp Modernization + AZStd::function compare fix. (#3680) 4 years ago
Bitset.cpp Modernization + AZStd::function compare fix. (#3680) 4 years ago
ChronoTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ConceptsTests.cpp Adding partial implementation of C++20 concepts and range functions for AZStd::span (#7102) 4 years ago
ConcurrentAllocators.cpp Added a max_size function to all AZStd container style allocator functions (#4106) 4 years ago
ConcurrentContainers.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
CreateDestroy.cpp Converted the AZStd implementations of unintialized construct to use std (#2843) 4 years ago
DequeAndSimilar.cpp Fixed the emplace function implementations for stack and queue (#2657) 4 years ago
Examples.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
FunctionalBasic.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
FunctorsBind.cpp Modernization + AZStd::function compare fix. (#3680) 4 years ago
Hashed.cpp Removal of OverrideShim, AP seems to be crashing 4 years ago
Invoke.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Iterators.cpp Adding partial implementation of C++20 concepts and range functions for AZStd::span (#7102) 4 years ago
Lists.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ListsFixed.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
ListsIntrusive.cpp Code/Framework/AzCore 4 years ago
LockFreeQueues.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
LockFreeStacks.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
LockTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Math.cpp Add AZStd::lerp math function, based on C++20 (#3468) 4 years ago
Numeric.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Optional.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
Ordered.cpp Removal of OverrideShim, AP seems to be crashing 4 years ago
Pair.cpp Code/Framework 4 years ago
Parallel.cpp Removes Driller from AzCore 4 years ago
RangesTests.cpp Adding partial implementation of C++20 concepts and range functions for AZStd::span (#7102) 4 years ago
ScopedLockTests.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
SetsIntrusive.cpp Code/Framework/AzCore 4 years ago
SmartPtr.cpp Modernization + AZStd::function compare fix. (#3680) 4 years ago
SpanTests.cpp Updated all array_view uses with the C++20 span. (#7157) 4 years ago
String.cpp GCC Support for Linux 4 years ago
Tuple.cpp Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
TypeTraits.cpp Adding partial implementation of C++20 concepts and range functions for AZStd::span (#7102) 4 years ago
UserTypes.h remove unnecessary ALIGN macros 4 years ago
Variant.cpp more fixes for Code 4 years ago
VariantSerialization.cpp Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
VectorAndArray.cpp fix dev break. AZStd::fixed_vector cannot be constexp error (#5995) 4 years ago