Home GnuPG

Don't assume std::array iterator is a pointer

Description

Don't assume std::array iterator is a pointer

The standard says iterator type is implementation-defined and while
libc++ and libstdc++ implement std::array iterators as pointers the
MSVC STL does not, so the build fails there.

Details

Provenance
Daniel Vrátil <daniel.vratil@avast.com>Authored on Nov 1 2020, 9:20 PM
Parents
rLIBKLEO54cfa5d7b757: Fix info about qmake dep
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Vrátil <daniel.vratil@avast.com> committed rLIBKLEOa51432a85b8e: Don't assume std::array iterator is a pointer (authored by Daniel Vrátil <daniel.vratil@avast.com>).Nov 1 2020, 9:20 PM