StackOverflow Questions for Tag: stl-algorithm

callum arul
callum arul

Reputation: 169

How to filter and transform cpp vector to another type of vector?

Score: 1

Views: 725

Answers: 1

Read More
lamc
lamc

Reputation: 367

STL algorithm and (end of) arrays

Score: 1

Views: 300

Answers: 1

Read More
1shubhamjoshi1
1shubhamjoshi1

Reputation: 556

Next Greater Even Number

Score: 3

Views: 3515

Answers: 4

Read More
user17175449
user17175449

Reputation:

How should I assume which iterator category an algorithm uses?

Score: 0

Views: 61

Answers: 1

Read More
jozxyqk
jozxyqk

Reputation: 17314

STL algorithm to get a per-vector-component min/max

Score: 0

Views: 189

Answers: 1

Read More
Christian Ammer
Christian Ammer

Reputation: 7542

C++ <algorithm> implementation explained

Score: 31

Views: 3375

Answers: 4

Read More
Andrew Tomazos
Andrew Tomazos

Reputation: 68698

std::next_permutation Implementation Explanation

Score: 133

Views: 39740

Answers: 4

Read More
revolutionary
revolutionary

Reputation: 3354

How to replace a for-loop with STL based algorithm or range based loop?

Score: -1

Views: 254

Answers: 2

Read More
Q-bertsuit
Q-bertsuit

Reputation: 3437

Using my custom iterator with STL algorithms

Score: 4

Views: 3448

Answers: 1

Read More
Crosk Cool
Crosk Cool

Reputation: 734

How to make minmax_element to return the element with least index in case of a tie

Score: 0

Views: 398

Answers: 2

Read More
aivision2020
aivision2020

Reputation: 629

std::copy n elements or to the end

Score: 26

Views: 8056

Answers: 5

Read More
johnco3
johnco3

Reputation: 2652

how to create custom intersected container from 2 distinct container types

Score: 1

Views: 84

Answers: 1

Read More
Pdksock
Pdksock

Reputation: 1030

remove_copy usage with strings

Score: 1

Views: 382

Answers: 2

Read More
Stephen DeSalvo
Stephen DeSalvo

Reputation: 717

Why does std::binary_search return bool?

Score: 19

Views: 4622

Answers: 6

Read More
Speed
Speed

Reputation: 1434

How to use std::find/std::find_if with a vector of custom class objects?

Score: 32

Views: 56710

Answers: 7

Read More
Alex Vergara
Alex Vergara

Reputation: 2248

C++ loop breaked 'cause the std::find algorithm

Score: 2

Views: 89

Answers: 1

Read More
Sap BH
Sap BH

Reputation: 91

Lambda function, arguments and logic in c++

Score: -1

Views: 340

Answers: 1

Read More
alfC
alfC

Reputation: 16270

Usage of for_each in the presence of exceptions? std::exception_list

Score: 10

Views: 1019

Answers: 1

Read More
Bart Vandewoestyne
Bart Vandewoestyne

Reputation: 553

Using std::accumulate on a two-dimensional std::array

Score: 12

Views: 4942

Answers: 3

Read More
cbrng
cbrng

Reputation: 63

How to erase non-alpha chars and lowercase the alpha chars in a single pass of a string?

Score: 3

Views: 296

Answers: 3

Read More
PreviousPage 2Next