mirror of
https://github.com/boostorg/intrusive.git
synced 2025-08-03 22:44:43 +02:00
Remove unneeded typename
This commit is contained in:
@@ -46,8 +46,8 @@ typedef unordered_set< MyClass, key_of_value<first_int_is_key> > UnorderedMap;
|
|||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
BOOST_STATIC_ASSERT((boost::is_same<typename OrderedMap::key_type, int>::value));
|
BOOST_STATIC_ASSERT((boost::is_same< OrderedMap::key_type, int>::value));
|
||||||
BOOST_STATIC_ASSERT((boost::is_same<typename UnorderedMap::key_type, int>::value));
|
BOOST_STATIC_ASSERT((boost::is_same<UnorderedMap::key_type, int>::value));
|
||||||
|
|
||||||
//Create several MyClass objects, each one with a different value
|
//Create several MyClass objects, each one with a different value
|
||||||
//and insert them into the omap
|
//and insert them into the omap
|
||||||
|
Reference in New Issue
Block a user