We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
forward_as_tuple
The current code for map insert is
template<typename K, typename V> pair<iterator, bool> insert(K &&key, V &&val) { return m_table.insert_unique(make_tuple(forward<K>(key), forward<V>(val))); }
but if you replace it with
return m_table.insert_unique(forward_as_tuple(key, val));
insertion will create duplicates for dynamic types like dynamic_string
dynamic_string
The text was updated successfully, but these errors were encountered:
json_array
No branches or pull requests
The current code for map insert is
but if you replace it with
insertion will create duplicates for dynamic types like
dynamic_string
The text was updated successfully, but these errors were encountered: