Intermediate
C++
Q78 / 100
What is the std::ranges library (C++20)?
Correct! Well done.
Incorrect.
The correct answer is B) A composable, lazy algorithm library that operates on ranges instead of iterator pairs, enabling pipeline syntax
B
Correct Answer
A composable, lazy algorithm library that operates on ranges instead of iterator pairs, enabling pipeline syntax
Explanation
std::views::filter(isEven) | std::views::transform(square) creates a lazy view. Range algorithms use range objects directly without begin()/end() pairs.
Progress
78/100