add vector_remove_at
This commit is contained in:
@@ -5,8 +5,8 @@ namespace hack::range
|
||||
template<typename T, typename... Args>
|
||||
bool within(const T min, const T max, Args... args)
|
||||
{
|
||||
return ((min <= args && max >= args) && ...);
|
||||
// 1, 5, 2, 3, 4
|
||||
// ( (1 <= 2 && 5 >= 2) && (1 <= 3 && 5 >= 3) && (1 <= 4 && 5 >= 4) )
|
||||
return ((min <= args && max >= args) && ...);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user