Bug 36972 - gcc8-c++: compilation fails with -std=c++17

Summary: gcc8-c++: compilation fails with -std=c++17