Search code examples
std::dynarray vs std::vector...

c++stdvector

Read More
How to get array size stored in unique_ptr?...

arraysc++11stdvectorunique-ptr

Read More
Can one forward-declare a function taking a vector of incomplete type with a default value?...

c++language-lawyerstdvectorforward-declarationincomplete-type

Read More
C++: how can I simplify this nested for loop using a range-based for?...

c++for-loopnested-loopsstdvectornested-for-loop

Read More
How to pick top k elements from std::map...

c++stdvectorstdmaplibstdc++c++23

Read More
Choice between vector::resize() and vector::reserve()...

c++memory-managementstdvector

Read More
Cannot construct `std::span<T>` from `const std::vector<T>&`...

c++c++20stdvectorstd-span

Read More
Why does std::vector have 2 constructors instead of 1 with default argument?...

c++c++11stlstdstdvector

Read More
C++20 compile time retrieve size of a vector...

c++memoryc++20stdvector

Read More
How to customize std::make_heap comparison function based on some data structure?...

c++heapstdvector

Read More
Automatically adapting to arma::mat or arma::sp_mat in an Rcpp::List?...

c++rcppstdvectorarmadillorcpparmadillo

Read More
How to read data from a binary file to a vector in c++?...

c++stdvectoriostreamifstream

Read More
std::vector: why out_of_range error doesn't happen?...

c++vectorstdvectorclang++

Read More
How to get a word vector from a string?...

c++stringstdvector

Read More
How to shuffle a std::vector?...

c++shufflestdvector

Read More
Initializing the size of a C++ vector...

c++constructordeclarationstdvectordefault-constructor

Read More
MSVC vector Debug Assertion with Boost.Asio async UDP server...

visual-c++udpboost-asiostdvectorvisual-c++-2022

Read More
Why does std::vector::assign not free existing allocated memory as soon as possible?...

c++stdvectorlibstdc++

Read More
How to dump std::vector<bool> in a binary file?...

c++booleanstdvector

Read More
What would happen if I append elements in range based for?...

c++stdvectorrange-based-loop

Read More
Getting front() Of Empty vector Yields Unexpected Behavior...

c++stdvector

Read More
move constructor of std::vector...

c++movestdvector

Read More
Attempting to Reference Deleted Constructor with std::thread and std::vector?...

c++multithreadingstdvectorstdthread

Read More
Question about storing array in a std::vector in C++...

c++gccg++stdvector

Read More
Visual Studio generated suspicious assembly code when a oneAPI TBB header is present in a PCH...

c++visual-c++stdvectortbbprecompiled-headers

Read More
How to find out if an item is present in a std::vector?...

c++stdstdvector

Read More
Is it safe to use `vec.push_back(vec.back());`?...

c++language-lawyerstdvector

Read More
How to get const references to a range of std::vector elements?...

c++algorithmc++17rangestdvector

Read More
Repeat contents of a std::vector...

c++performancestdvector

Read More
Unable to see gains on using boost::multi_array as compared to raw C array of pointers or C++ vector...

c++cbooststdvectorboost-multi-array

Read More
BackNext