Appending a C-array to a vector in reverse order in C++98/03 without a for-loop – stackoverflow.com 07:11 Posted by Unknown No Comments Its pretty straightforward to append a C-array to a vector (in C++ 98/03) like so: std::vector<int> vec; const int array[5] = { 1 , 2 , 3 , 4 , 5}; vec.insert( vec.end() , array , array + 5 ); ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Google Facebook Twitter More Digg Linkedin Stumbleupon Delicious Tumblr BufferApp Pocket Evernote Unknown Artikel TerkaitWhat is the longest aired episode of a TV series? – movies.stackexchange.comHeat pump is a refrigerator? – physics.stackexchange.comSomething which cannot be experienced – english.stackexchange.comangle chasing in quadrilaterals – math.stackexchange.comWhen does a glue node have type `xspaceskip` in LuaTeX? – tex.stackexchange.comHow do launches avoid leap seconds? Why? – space.stackexchange.com
0 Comment to "Appending a C-array to a vector in reverse order in C++98/03 without a for-loop – stackoverflow.com"
Post a Comment