KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Questions tagged
stdvector
23 questions
Follow Tag
Sort by:
Newest
Votes
Active
202
votes
13
answers
Initializing a two-dimensional std::vector
c++
vector
initialization
stdvector
asked 2013-07-15T20:21:47.863
33
votes
10
answers
Why doesn't vector::clear remove elements from a vector?
c++
stdvector
undefined-behavior
asked 2013-06-24T22:33:51.713
35
votes
4
answers
Vector going out of bounds without giving error
c++
stdvector
asked 2013-05-18T02:52:59.210
9
votes
3
answers
Bounds checking of std::vector (and other containers) in clang?
clang
stdvector
asked 2013-05-09T17:16:49.010
44
votes
5
answers
advantages of std::set vs vectors or maps
c++
stdvector
stdmap
stdset
asked 2013-04-29T19:30:45.627
8
votes
1
answers
c++11: erase using a const_iterator
c++
c++11
stdvector
erase
const-iterator
asked 2013-04-13T12:40:12.637
13
votes
3
answers
Create a fixed size std::vector and write to the elements
c++
arrays
constants
stdvector
dynamic-arrays
asked 2013-04-05T11:09:46.783
8
votes
2
answers
When is a vector copied, when is a reference passed?
c++
stl
stdvector
asked 2013-02-27T19:08:09.077
27
votes
5
answers
Initializing std::vector with iterative function calls
c++
c++11
iterator
initialization
stdvector
asked 2012-09-20T11:30:52.597
19
votes
2
answers
vector::push_back insists on using copy constructor though a move constructor is provided
c++
c++11
gcc
stdvector
move-constructor
asked 2012-07-15T00:36:01.980
30
votes
5
answers
Pushing unique data into vector
c++
insert
unique
stdvector
asked 2012-04-29T21:18:34.583
227
votes
10
answers
How can I get the maximum or minimum value in a vector?
c++
max
min
stdvector
asked 2012-03-26T15:16:13.920
16
votes
4
answers
What should be the index type when iterating over the elements of a vector?
c++
loops
types
indexing
stdvector
asked 2011-08-10T06:27:26.007
105
votes
5
answers
How to compare two vectors for equality element by element?
c++
stdvector
asked 2011-06-06T05:17:19.173
89
votes
5
answers
Correct way to work with vector of arrays
c++
arrays
vector
stdvector
asked 2011-01-06T06:11:21.463
48
votes
10
answers
In a "i < vector.size()" loop condition, is size() called each iteration?
c++
for-loop
compiler-optimization
stdvector
loop-invariant
asked 2010-10-10T18:37:13.687
11
votes
4
answers
How to call constructor of objects contained in a std::vector?
c++
stl
static
constructor
stdvector
asked 2010-07-17T16:36:52.180
19
votes
2
answers
'std::vector<T>::iterator it;' doesn't compile
c++
stdvector
asked 2010-06-29T20:49:30.663
15
votes
2
answers
Why can't I index a std::vector in the immediate window?
c++
visual-studio
stdvector
immediate-window
asked 2010-02-01T20:13:35.987
75
votes
5
answers
Converting between C++ std::vector and C array without copying
c++
c
arrays
stl
stdvector
asked 2009-11-14T03:33:42.563
198
votes
10
answers
C++ valarray vs. vector
c++
stl
stdvector
std
valarray
asked 2009-10-21T17:53:31.017
761
votes
16
answers
How do I erase an element from std::vector<> by index?
c++
stl
stdvector
erase
asked 2009-05-17T17:59:36.290
126
votes
7
answers
How can you erase elements from a vector while iterating?
c++
vector
stl
stdvector
erase
asked 2008-12-07T10:10:20.037