explicit conversion to string not considered for std::map keys in GCC8 #2096
Labels
kind: bug
state: stale
the issue has not been updated in a while and will be closed automatically soon unless it is updated
What is the issue you have?
Compilation fails with GCC8 when trying to serialize a
std::map
whose Key-type providesexplicit
conversion tostd::string
Please describe the steps to reproduce the issue. Can you provide a small but working code example?
Serialization to
Does not compile when using gcc version 8
Compiler error:
Which compiler and operating system are you using? Is it a supported compiler?
g++-9 (Ubuntu 9.3.0-11ubuntu0~18.04.1) 9.3.0
g++-10 (Ubuntu 10-20200416-0ubuntu1~18.04) 10.0.1 20200416 (experimental) [master revision 3c3f12e2a76:dcee354ce56:44b326839d864fc10c459916abcc97f35a9ac3de]
clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
clang version 11.0.0-++20200506091409+ca09dab303f-1~exp1~20200506072011.1666
Did you use a released version of the library or the version from the
develop
branch?3.7.3
from develop branchThe text was updated successfully, but these errors were encountered: