PSA: If g++-11 produces errors like "reference to ‘data’ is ambiguous", ensure you do not (accidentally ?) flatted the `std` namespace and one of your containing `data`.
C++17 brings us `std::data()` which can clash.
Illustration and fixes in repo.
github.com/eddelbuettel/mine…
Dec 11, 2021 · 4:15 PM UTC
1
6
