We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b1fe0d commit 87b2bf8Copy full SHA for 87b2bf8
include/tao/json/traits.hpp
@@ -1249,7 +1249,7 @@ namespace tao
1249
{
1250
const auto& a = v.get_array();
1251
for( const auto& i : a ) {
1252
- r.emplace( i.template as< T >() ); // TODO: By default throw on duplicate?
+ r.emplace( i.template as< T >() );
1253
}
1254
1255
};
@@ -1277,7 +1277,7 @@ namespace tao
1277
1278
const auto& o = v.get_object();
1279
for( const auto& i : o ) {
1280
- r.emplace( i.first, i.second.template as< T >() ); // TODO: By default throw on duplicate?
+ r.emplace( i.first, i.second.template as< T >() );
1281
1282
1283
0 commit comments