What's the latest on using C++17?

Works.

Use PIO Home → Platforms → Espressif 32 → Update if needed.