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
Allocators.cpp Added a max_size function to all AZStd container style allocator functions (#4106) 5 years ago
Any.cpp
Atomics.cpp Modernization + AZStd::function compare fix. (#3680) 5 years ago
Bitset.cpp Modernization + AZStd::function compare fix. (#3680) 5 years ago
ChronoTests.cpp
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) 5 years ago
ConcurrentContainers.cpp
CreateDestroy.cpp
DequeAndSimilar.cpp
Examples.cpp
FunctionalBasic.cpp
FunctorsBind.cpp Modernization + AZStd::function compare fix. (#3680) 5 years ago
Hashed.cpp Removal of OverrideShim, AP seems to be crashing 5 years ago
Invoke.cpp
Iterators.cpp Adding partial implementation of C++20 concepts and range functions for AZStd::span (#7102) 4 years ago
Lists.cpp
ListsFixed.cpp
ListsIntrusive.cpp
LockFreeQueues.cpp
LockFreeStacks.cpp
LockTests.cpp
Math.cpp Add AZStd::lerp math function, based on C++20 (#3468) 5 years ago
Numeric.cpp
Optional.cpp
Ordered.cpp Removal of OverrideShim, AP seems to be crashing 5 years ago
Pair.cpp
Parallel.cpp Removes Driller from AzCore 5 years ago
RangesTests.cpp Adding partial implementation of C++20 concepts and range functions for AZStd::span (#7102) 4 years ago
ScopedLockTests.cpp
SetsIntrusive.cpp
SmartPtr.cpp Modernization + AZStd::function compare fix. (#3680) 5 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
TypeTraits.cpp Adding partial implementation of C++20 concepts and range functions for AZStd::span (#7102) 4 years ago
UserTypes.h
Variant.cpp
VariantSerialization.cpp Cleanup SerializeContext.h pt.1 (#4264) 5 years ago
VectorAndArray.cpp fix dev break. AZStd::fixed_vector cannot be constexp error (#5995) 5 years ago