mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Update Vector.hpp
This commit is contained in:
parent
6fcdfa6ed2
commit
35ff0e6eea
@ -673,6 +673,10 @@ template < class T > struct SqVector
|
||||
bool IsSorted()
|
||||
{
|
||||
Validate();
|
||||
if (std::is_same< T, bool >::value)
|
||||
{
|
||||
STHROWF("This functionality is not implemented for booleans");
|
||||
}
|
||||
return std::is_sorted(mC->begin(), mC->end());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user