How do you loop through the contents of a buffer in DX11?
There are a couple of issues.  First you need to make sure that veBuffer has the correct type, so that probably means you need to cast it to pointer to vertex:
const auto vertices = reinterpret_cast&lt;const Vertex*&gt;(reBuffer);

Second a range-based for-loop needs to know where the range ends and giving it a raw pointer does not provide that information, so you cannot use it here.  Instead you will need to know how many vertices there are and use a normal for-loop:
const size_t numVerts = 32;
for (size_t i = 0; i &lt; numVerts; ++i) {
    const Vertex&amp; vert = vertices[i];
    ...
}