StackOverflow Questions for Tag: const-iterator

igel
igel

Reputation: 557

std::begin(X) vs. X.begin() for rvalues

Score: 8

Views: 451

Answers: 1

Read More
DoZerg
DoZerg

Reputation: 323

How does std::basic_const_iterator support `it1 - it2`

Score: 1

Views: 119

Answers: 2

Read More
Nathan29006781
Nathan29006781

Reputation: 335

Construct iterator from const_iterator?

Score: 1

Views: 138

Answers: 1

Read More
Tamás Szelei
Tamás Szelei

Reputation: 23921

How to implement an STL-style iterator and avoid common pitfalls?

Score: 363

Views: 241767

Answers: 9

Read More
Chameleon
Chameleon

Reputation: 2137

A problem with `std::totally_ordered` and `std::basic_const_iterator` inside another iterator

Score: 2

Views: 98

Answers: 0

Read More
ozan
ozan

Reputation: 21

Check if Array Is Sorted and Rotated on LeetCode

Score: 0

Views: 204

Answers: 3

Read More
user11611653
user11611653

Reputation: 139

Why my custom const_iterator end() function does not compile while using gtest?

Score: 0

Views: 52

Answers: 1

Read More
ereOn
ereOn

Reputation: 55726

How to correctly implement custom iterators and const_iterators?

Score: 320

Views: 294103

Answers: 10

Read More
αλεχολυτ
αλεχολυτ

Reputation: 5039

A way to use count/contains on map holding iterator by giving const_iterator

Score: 0

Views: 80

Answers: 1

Read More
Miroslav Krajcir
Miroslav Krajcir

Reputation: 155

c++ returning const reverse iterator from a class method, but method cannot be const?

Score: 0

Views: 122

Answers: 1

Read More
Sogartar
Sogartar

Reputation: 2175

Why is std::iterator_traits::value_type non-const even for a const_iterator?

Score: 24

Views: 2749

Answers: 2

Read More
Ali Tavakol
Ali Tavakol

Reputation: 439

Why is iterating over the set and modifying element not allowed here

Score: 0

Views: 105

Answers: 1

Read More

Will using Template Typdefs force us to duplicate iterator objects in C++23 even though "Deducing this" eliminates this problem?

Score: 1

Views: 133

Answers: 1

Read More
Stellarist
Stellarist

Reputation: 53

A question about "insert" function in vector

Score: 0

Views: 119

Answers: 1

Read More
bbdude95
bbdude95

Reputation: 250

Cannot convert 'this' pointer from 'const Bullet' to 'Bullet &'

Score: 2

Views: 1484

Answers: 3

Read More
dfarhi
dfarhi

Reputation: 21

Cannot convert custom iterator to const_iterator

Score: 0

Views: 257

Answers: 2

Read More
Sergiy Svirkov
Sergiy Svirkov

Reputation: 1

C++. How to speed up the execution of a method or cycle?

Score: 0

Views: 76

Answers: 0

Read More
fromgate
fromgate

Reputation: 21

How to make a copy constructor for different types within a template class?

Score: 0

Views: 499

Answers: 2

Read More
valtterihaav
valtterihaav

Reputation: 1

gcc compiler not recognizing iterator substraction

Score: 0

Views: 94

Answers: 1

Read More
Ralf Holly
Ralf Holly

Reputation: 1

How to implement freestanding operators for a nested class template

Score: 0

Views: 85

Answers: 1

Read More
PreviousPage 1Next