title: Extract every other element of a vector
body: <p>Is there a faster way of splitting a <code>std::vector</code> in to two half-size <code>std::vectors</code> (one containing values of the odd indices and the other containing values of even indices) than to iterate through the original vector and compare if <code>index%2==0</code> for each index?</p>