IsOutOfBounds()
Contents
[
Hide
]System::Collections::Generic::Details::IsOutOfBounds(int, const Container&) function
Checks if index is out of container bounds, excluding container size.
template<typename Container> bool System::Collections::Generic::Details::IsOutOfBounds(int idx, const Container &container)
Template parameters
Parameter | Description |
---|---|
Container | Container type. |
Arguments
Parameter | Type | Description |
---|---|---|
idx | int | Index. |
container | const Container& | Container to check index against. |
Return Value
True if index is out of container bounds, false otherwise.
System::Collections::Generic::Details::IsOutOfBounds(std::int64_t, const Container&) function
Checks if index is out of container bounds, excluding container size.
template<typename Container> bool System::Collections::Generic::Details::IsOutOfBounds(std::int64_t idx, const Container &container)
Template parameters
Parameter | Description |
---|---|
Container | Container type. |
Arguments
Parameter | Type | Description |
---|---|---|
idx | std::int64_t | Index. |
container | const Container& | Container to check index against. |
Return Value
True if index is out of container bounds, false otherwise.
See Also
- Namespace System::Collections::Generic::Details
- Library Aspose.Slides