You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And what is the actual behavior instead?
Does not compile when using gcc version 8
g++-8 (Ubuntu 8.4.0-1ubuntu1~18.04) 8.4.0
Compiler error:
no known conversion for argument 2 from ‘std::pair<const ID, std::__cxx11::basic_string<char> >::first_type’ {aka ‘const ID’} to ‘const key_type&’ {aka ‘const std::__cxx11::basic_string<char>&’}
Which compiler and operating system are you using? Is it a supported compiler?
I found this issue only when compiling with GCC 8.4.0
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
stalebot
added
the
state: stale
the issue has not been updated in a while and will be closed automatically soon unless it is updated
label
Jun 9, 2020
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: