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 3 of 8)

February, 2006: STL and TR1: Part III

Listing 2

// the TR1 header <unordered_set>

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

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

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

    // TEMPLATE FUNCTIONS swap
template <class Key, class Hash, class Pred, class Alloc>
void swap(unordered_set(Key, Hash, Pred, Alloc>& left,
    unordered_set(Key, Hash, Pred, Alloc>& right);
template <class Key, class Hash, class Pred, class Alloc>
void swap(unordered_multiset(Key, Hash, Pred, Alloc>& left,
    unordered_multiset(Key, 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