<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
C++ Multisets [C++ Reference]
</title>
<meta name="generator" content="DokuWiki Release 2009-12-25c "Lemming"" />
<meta name="robots" content="index,follow" />
<meta name="date" content="2008-10-14T15:42:07-0700" />
<meta name="keywords" content="stl,multiset,start" />
<link rel="search" type="application/opensearchdescription+xml" href="/wiki/lib/exe/opensearch.php" title="C++ Reference" />
<link rel="start" href="/wiki/" />
<link rel="contents" href="/wiki/stl/multiset/start?do=index" title="Index" />
<link rel="alternate" type="application/rss+xml" title="Recent Changes" href="/wiki/feed.php" />
<link rel="alternate" type="application/rss+xml" title="Current Namespace" href="/wiki/feed.php?mode=list&ns=stl:multiset" />
<link rel="edit" title="Edit this page" href="/wiki/stl/multiset/start?do=edit" />
<link rel="alternate" type="text/html" title="Plain HTML" href="/wiki/_export/xhtml/stl/multiset/start" />
<link rel="alternate" type="text/plain" title="Wiki Markup" href="/wiki/_export/raw/stl/multiset/start" />
<link rel="canonical" href="http://www.cppreference.com/wiki/stl/multiset/start" />
<link rel="stylesheet" media="all" type="text/css" href="/wiki/lib/exe/css.php?s=all&t=custom1&tseed=1272971091" />
<link rel="stylesheet" media="screen" type="text/css" href="/wiki/lib/exe/css.php?t=custom1&tseed=1272971091" />
<link rel="stylesheet" media="print" type="text/css" href="/wiki/lib/exe/css.php?s=print&t=custom1&tseed=1272971091" />
<script type="text/javascript" charset="utf-8" ><!--//--><![CDATA[//><!--
var NS='stl:multiset';var JSINFO = {"id":"stl:multiset:start","namespace":"stl:multiset"};
//--><!]]></script>
<script type="text/javascript" charset="utf-8" src="/wiki/lib/exe/js.php?tseed=1272971091" ></script>
<link rel="shortcut icon" href="/wiki/lib/tpl/custom1/images/favicon.png" />
</head>
<body>
<div class="dokuwiki">
<div class="stylehead">
<div class="breadcrumbs">
<span class="bchead">You are here: </span><a href="../../start.html" title="start">C++ Reference</a> » <a href="../../stl/start.html" title="stl:start">C++ Standard Template Library</a> » <a href="../../stl/multiset/start.html" title="stl:multiset:start">C++ Multisets</a> </div>
</div>
<div class="page">
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2828341-1";
urchinTracker();
</script>
<!-- wikipage start -->
<h2><a name="c_multisets" id="c_multisets">C++ Multisets</a></h2>
<div class="level2">
<p>
C++ Multisets are like sets, in that they are associative containers containing
a sorted set of objects, but differ in that they allow duplicate objects.
</p>
<table class="inline">
<tr class="row0">
<td class="col0"><a href="../../stl/multiset/multiset.html" class="wikilink1" title="stl:multiset:multiset_constructors">Multiset Constructors</a></td><td class="col1">default methods to allocate, copy, and deallocate multisets</td>
</tr>
<tr class="row1">
<td class="col0"><a href="../../stl/multiset/operator.html" class="wikilink1" title="stl:multiset:multiset_operators">Multiset Operators</a></td><td class="col1">assign and compare multisets</td>
</tr>
<tr class="row2">
<td class="col0"><a href="../../stl/multiset/begin.html" class="wikilink1" title="stl:multiset:begin">begin</a></td><td class="col1">returns an iterator to the beginning of the multiset</td>
</tr>
<tr class="row3">
<td class="col0"><a href="../../stl/multiset/clear.html" class="wikilink1" title="stl:multiset:clear">clear</a></td><td class="col1">removes all elements from the multiset</td>
</tr>
<tr class="row4">
<td class="col0"><a href="../../stl/multiset/count.html" class="wikilink1" title="stl:multiset:count">count</a></td><td class="col1">returns the number of elements matching a certain key</td>
</tr>
<tr class="row5">
<td class="col0"><a href="../../stl/multiset/empty.html" class="wikilink1" title="stl:multiset:empty">empty</a></td><td class="col1">true if the multiset has no elements</td>
</tr>
<tr class="row6">
<td class="col0"><a href="../../stl/multiset/end.html" class="wikilink1" title="stl:multiset:end">end</a></td><td class="col1">returns an iterator just past the last element of a multiset</td>
</tr>
<tr class="row7">
<td class="col0"><a href="../../stl/multiset/equal_range.html" class="wikilink1" title="stl:multiset:equal_range">equal_range</a></td><td class="col1">returns iterators to the first and just past the last elements matching a specific key</td>
</tr>
<tr class="row8">
<td class="col0"><a href="../../stl/multiset/erase.html" class="wikilink1" title="stl:multiset:erase">erase</a></td><td class="col1">removes elements from a multiset</td>
</tr>
<tr class="row9">
<td class="col0"><a href="../../stl/multiset/find.html" class="wikilink1" title="stl:multiset:find">find</a></td><td class="col1">returns an iterator to specific elements</td>
</tr>
<tr class="row10">
<td class="col0"><a href="../../stl/multiset/insert.html" class="wikilink1" title="stl:multiset:insert">insert</a></td><td class="col1">inserts items into a multiset</td>
</tr>
<tr class="row11">
<td class="col0"><a href="../../stl/multiset/key_comp.html" class="wikilink1" title="stl:multiset:key_comp">key_comp</a></td><td class="col1">returns the function that compares keys</td>
</tr>
<tr class="row12">
<td class="col0"><a href="../../stl/multiset/lower_bound.html" class="wikilink1" title="stl:multiset:lower_bound">lower_bound</a></td><td class="col1">returns an iterator to the first element greater than or equal to a certain value</td>
</tr>
<tr class="row13">
<td class="col0"><a href="../../stl/multiset/max_size.html" class="wikilink1" title="stl:multiset:max_size">max_size</a></td><td class="col1">returns the maximum number of elements that the multiset can hold</td>
</tr>
<tr class="row14">
<td class="col0"><a href="../../stl/multiset/rbegin.html" class="wikilink1" title="stl:multiset:rbegin">rbegin</a></td><td class="col1">returns a reverse_iterator to the end of the multiset</td>
</tr>
<tr class="row15">
<td class="col0"><a href="../../stl/multiset/rend.html" class="wikilink1" title="stl:multiset:rend">rend</a></td><td class="col1">returns a reverse_iterator to the beginning of the multiset</td>
</tr>
<tr class="row16">
<td class="col0"><a href="../../stl/multiset/size.html" class="wikilink1" title="stl:multiset:size">size</a></td><td class="col1">returns the number of items in the multiset</td>
</tr>
<tr class="row17">
<td class="col0"><a href="../../stl/multiset/swap.html" class="wikilink1" title="stl:multiset:swap">swap</a></td><td class="col1">swap the contents of this multiset with another</td>
</tr>
<tr class="row18">
<td class="col0"><a href="../../stl/multiset/upper_bound.html" class="wikilink1" title="stl:multiset:upper_bound">upper_bound</a></td><td class="col1">returns an iterator to the first element greater than a certain value</td>
</tr>
<tr class="row19">
<td class="col0"><a href="../../stl/multiset/value_comp.html" class="wikilink1" title="stl:multiset:value_comp">value_comp</a></td><td class="col1">returns the function that compares values</td>
</tr>
</table>
</div>
<!-- wikipage stop -->
</div>
<div class="clearer"> </div>
<div class="stylefoot">
<div class="meta">
<div class="user">
</div>
<!--
<div class="doc">
stl/multiset/start.txt · Last modified: 10/14/2008 15:42 (external edit) </div>
-->
</div>
</div></div></body>
</html>