Remove unneeded typename

This commit is contained in:
Ion Gaztañaga
2025-11-29 21:45:18 +01:00
parent d2154ae3f6
commit dd5ad5672e
9 changed files with 9 additions and 9 deletions

View File

@@ -22,7 +22,7 @@ int main()
BOOST_CONTAINER_STATIC_ASSERT(( is_same<intcontainer_t, pmr::deque<int> >::value ));
#endif
intcontainer_t cont(pmr::get_default_resource());
typedef typename intcontainer_t::value_type value_type;
typedef intcontainer_t::value_type value_type;
cont.push_back(value_type());
return 0;
}

View File

@@ -23,7 +23,7 @@ int main()
#endif
intcontainer_t cont(pmr::get_default_resource());
typedef typename intcontainer_t::value_type value_type;
typedef intcontainer_t::value_type value_type;
cont.push_back(value_type());
return 0;
}

View File

@@ -22,7 +22,7 @@ int main()
BOOST_CONTAINER_STATIC_ASSERT(( is_same<intcontainer_t, pmr::flat_map<int, float> >::value ));
#endif
intcontainer_t cont(pmr::get_default_resource());
typedef typename intcontainer_t::value_type value_type;
typedef intcontainer_t::value_type value_type;
cont.insert(value_type());
return 0;
}

View File

@@ -22,7 +22,7 @@ int main()
BOOST_CONTAINER_STATIC_ASSERT(( is_same<intcontainer_t, pmr::flat_set<int> >::value ));
#endif
intcontainer_t cont(pmr::get_default_resource());
typedef typename intcontainer_t::value_type value_type;
typedef intcontainer_t::value_type value_type;
cont.insert(value_type());
return 0;
}

View File

@@ -22,7 +22,7 @@ int main()
BOOST_CONTAINER_STATIC_ASSERT(( is_same<intcontainer_t, pmr::list<int> >::value ));
#endif
intcontainer_t cont(pmr::get_default_resource());
typedef typename intcontainer_t::value_type value_type;
typedef intcontainer_t::value_type value_type;
cont.push_back(value_type());
return 0;
}

View File

@@ -22,7 +22,7 @@ int main()
BOOST_CONTAINER_STATIC_ASSERT(( is_same<intcontainer_t, pmr::map<int, float> >::value ));
#endif
intcontainer_t cont(pmr::get_default_resource());
typedef typename intcontainer_t::value_type value_type;
typedef intcontainer_t::value_type value_type;
cont.insert(value_type());
return 0;
}

View File

@@ -24,7 +24,7 @@ int main()
#endif
intcontainer_t cont(pmr::get_default_resource());
typedef typename intcontainer_t::value_type value_type;
typedef intcontainer_t::value_type value_type;
cont.insert(value_type());
return 0;
}

View File

@@ -23,7 +23,7 @@ int main()
#endif
intcontainer_t cont(pmr::get_default_resource());
typedef typename intcontainer_t::value_type value_type;
typedef intcontainer_t::value_type value_type;
cont.push_back(value_type());
return 0;

View File

@@ -22,7 +22,7 @@ int main()
BOOST_CONTAINER_STATIC_ASSERT(( is_same<intcontainer_t, pmr::stable_vector<int> >::value ));
#endif
intcontainer_t cont(pmr::get_default_resource());
typedef typename intcontainer_t::value_type value_type;
typedef intcontainer_t::value_type value_type;
cont.push_back(value_type());
return 0;
}