Merge branch 'inspection_report' of https://github.com/zerotypos-found/container into zerotypos-found-inspection_report

This commit is contained in:
Ion Gaztañaga
2017-01-12 14:53:20 +01:00
6 changed files with 16 additions and 16 deletions
+4 -4
View File
@@ -391,10 +391,10 @@ int main ()
//Test std::pair value type as tree has workarounds to make old std::pair
//implementations movable that can break things
{
boost::container::map<pair_t, pair_t> s;
std::pair<const pair_t,pair_t> p;
s.insert(p);
s.emplace(p);
boost::container::map<pair_t, pair_t> s;
std::pair<const pair_t,pair_t> p;
s.insert(p);
s.emplace(p);
}
////////////////////////////////////
+4 -4
View File
@@ -379,10 +379,10 @@ int main ()
//Test std::pair value type as tree has workarounds to make old std::pair
//implementations movable that can break things
{
boost::container::set<std::pair<int,int> > s;
std::pair<int,int> p(0, 0);
s.insert(p);
s.emplace(p);
boost::container::set<std::pair<int,int> > s;
std::pair<int,int> p(0, 0);
s.insert(p);
s.emplace(p);
}
test_merge_from_different_comparison();