StackOverflow Questions for Tag: stl-algorithm

nalzok
nalzok

Reputation: 16137

Why doesn't STL's implementation of next_permutation use the binary search?

Score: 5

Views: 195

Answers: 1

Read More
Ranoiaetep
Ranoiaetep

Reputation: 6657

What are the incentive of some std::ranges::XXX_n?

Score: 3

Views: 53

Answers: 0

Read More
Ben
Ben

Reputation: 9723

Algorithm name?: Concatenate the ranges returned by a function applied to each element of a range

Score: 0

Views: 116

Answers: 1

Read More
ThomasF
ThomasF

Reputation: 1

How does the C++ algorithm library check the range of the output and not create segfaults when it is smaller than the range of the input?

Score: 0

Views: 166

Answers: 1

Read More
Sven
Sven

Reputation: 22703

Composability of STL algorithms

Score: 43

Views: 4016

Answers: 5

Read More
Pilar Latiesa
Pilar Latiesa

Reputation: 695

Do the unseq execution policy require the iterators' value_type to be Cpp17CopyAssignable?

Score: 4

Views: 148

Answers: 1

Read More
WilliamKF
WilliamKF

Reputation: 43179

Is there something like std::remove() which does not preserve the order of retained elements of a vector?

Score: 3

Views: 562

Answers: 1

Read More
NoSenseEtAl
NoSenseEtAl

Reputation: 30118

C++ std:: string starts_with/ends_with case insensitive versions?

Score: 1

Views: 3172

Answers: 3

Read More
Varun Hegde
Varun Hegde

Reputation: 135

Sorting numbers digit wise

Score: 0

Views: 623

Answers: 1

Read More
Anton Menshov
Anton Menshov

Reputation: 2326

Avoid manual creation of lambda to wrap the call to new[]: to be used as a generator function in std::generate

Score: 2

Views: 91

Answers: 2

Read More
PiotrNycz
PiotrNycz

Reputation: 24422

Are std::fill, std::copy specialized for std::vector<bool>?

Score: 17

Views: 4802

Answers: 4

Read More

Compute the sum of absolute values with stl algorithms

Score: 2

Views: 3683

Answers: 2

Read More
Sahil Verma
Sahil Verma

Reputation: 11

Swap() in STL algorithm C++

Score: 0

Views: 170

Answers: 1

Read More
acraig5075
acraig5075

Reputation: 10756

Why can I not std::partition this std::unordered_map?

Score: -1

Views: 1401

Answers: 3

Read More
Pilar Latiesa
Pilar Latiesa

Reputation: 695

Call a member function of a vector of elements with a vector of arguments in parallel

Score: 2

Views: 208

Answers: 1

Read More
cigien
cigien

Reputation: 60268

Is a nested std::transform inefficient?

Score: 2

Views: 618

Answers: 1

Read More

C++, copy_if with vector<class>

Score: 0

Views: 699

Answers: 1

Read More
cbuchart
cbuchart

Reputation: 11575

Using back_inserter to create vector from single member of struct

Score: 1

Views: 984

Answers: 2

Read More
Frogical
Frogical

Reputation: 185

Is it possible to rewrite my code using STL algorithms?

Score: 0

Views: 161

Answers: 1

Read More
francesco
francesco

Reputation: 7549

Incorrect overload resolution in for_each_n?

Score: 2

Views: 73

Answers: 0

Read More
PreviousPage 3Next