FREE Subscription to Dr. Dobb’s Digest: Same Great Content, New Digital Edition
Site Archive (Complete)
C++
Email
Print
Reprint

add to:
Del.icio.us
Digg
Google
Furl
Slashdot
Y! MyWeb
Blink
February 01, 2006

STL and TR1: Part III

(Page 2 of 8)

February, 2006: STL and TR1: Part III

Listing 1

// the TR1 header <unordered_map>

namespace std {     // C++ Standard Library
 namespace tr1 {    // TR1 additions

    // TEMPLATE CLASS unordered_map
template <class Key, class Ty,
    class Hash, class Pred, class Alloc> class unordered_map;

    // TEMPLATE CLASS unordered_multimap
template <class Key, class Ty,
    class Hash, class Pred, class Alloc> class unordered_multimap;

    // TEMPLATE FUNCTIONS swap
template <class Key, class Ty, class Hash, class Pred, class Alloc>
void swap(unordered_map(Key, Ty, Hash, Pred, Alloc>& left,
    unordered_map(Key, Ty, Hash, Pred, Alloc>& right);
template <class Key, class Ty, class Hash, class Pred, class Alloc>
void swap(unordered_multimap(Key, Ty, Hash, Pred, Alloc>& left,
    unordered_multimap(Key, Ty, Hash, Pred, Alloc>& right);

} }

Previous Page | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 Next Page
TOP 5 ARTICLES
No Top Articles.



MICROSITES
FEATURED TOPIC

ADDITIONAL TOPICS

INFO-LINK