You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wraps a .NET collection for use as an STL/CLR container. A `collection_adapter` is a template class that describes a simple STL/CLR container object. It wraps a Base Class Library (BCL) interface, and returns an iterator pair that you use to manipulate the controlled sequence.
|[unique_copy (STL/CLR)](#unique_copy)|Copies elements from a source range into a destination range except for the duplicate elements that are adjacent to each other.|
116
116
|[upper_bound (STL/CLR)](#upper_bound)|Finds the position of the first element in an ordered range that has a value that is greater than a specified value, where the ordering criterion may be specified by a binary predicate.|
Copy file name to clipboardExpand all lines: docs/dotnet/deque-stl-clr.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ template<typename Value>
57
57
58
58
**Namespace:** cliext
59
59
60
-
## Members
60
+
## Declarations
61
61
62
62
|Type Definition|Description|
63
63
|---------------------|-----------------|
@@ -138,7 +138,7 @@ template<typename Value>
138
138
139
139
Erasing or removing an element calls the destructor for its stored value. Destroying the container erases all elements. Thus, a container whose element type is a ref class ensures that no elements outlive the container. Note, however, that a container of handles does `not` destroy its elements.
Copy file name to clipboardExpand all lines: docs/dotnet/hash-multiset-stl-clr.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ template<typename Key>
48
48
{ ..... };
49
49
```
50
50
51
-
####Parameters
51
+
### Parameters
52
52
Key
53
53
The type of the key component of an element in the controlled sequence.
54
54
@@ -57,7 +57,7 @@ template<typename Key>
57
57
58
58
**Namespace:** cliext
59
59
60
-
## Members
60
+
## Declarations
61
61
62
62
|Type Definition|Description|
63
63
|---------------------|-----------------|
@@ -122,7 +122,7 @@ template<typename Key>
122
122
|<xref:System.Collections.Generic.ICollection%601>|Maintain group of typed elements.|
123
123
|IHash\<Key, Value>|Maintain generic container.|
124
124
125
-
###Remarks
125
+
## Remarks
126
126
The object allocates and frees storage for the sequence it controls as individual nodes in a bidirectional linked list. To speed access, the object also maintains a varying-length array of pointers into the list (the hash table), effectively managing the whole list as a sequence of sublists, or buckets. It inserts elements into a bucket that it keeps ordered by altering the links between nodes, never by copying the contents of one node to another. That means you can insert and remove elements freely without disturbing remaining elements.
127
127
128
128
The object orders each bucket it controls by calling a stored delegate object of type [hash_set::key_compare (STL/CLR)](../dotnet/hash-set-key-compare-stl-clr.md). You can specify the stored delegate object when you construct the hash_set; if you specify no delegate object, the default is the comparison `operator<=(key_type, key_type)`.
@@ -155,6 +155,8 @@ template<typename Key>
155
155
156
156
Erasing or removing an element calls the destructor for its stored value. Destroying the container erases all elements. Thus, a container whose element type is a ref class ensures that no elements outlive the container. Note, however, that a container of handles does `not` destroy its elements.
Copy file name to clipboardExpand all lines: docs/dotnet/hash-set-stl-clr.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ The template class describes an object that controls a varying-length sequence o
31
31
32
32
In the description below, `GValue` is the same as `GKey`, which in turn is the same as `Key` unless the latter is a ref type, in which case it is `Key^`.
33
33
34
-
###Syntax
34
+
## Syntax
35
35
36
36
```
37
37
template<typename Key>
@@ -47,7 +47,7 @@ template<typename Key>
47
47
{ ..... };
48
48
```
49
49
50
-
####Parameters
50
+
### Parameters
51
51
Key
52
52
The type of the key component of an element in the controlled sequence.
53
53
@@ -56,7 +56,7 @@ template<typename Key>
56
56
57
57
**Namespace:** cliext
58
58
59
-
## Members
59
+
## Declarations
60
60
61
61
|Type Definition|Description|
62
62
|---------------------|-----------------|
@@ -121,7 +121,7 @@ template<typename Key>
121
121
|<xref:System.Collections.Generic.ICollection%601>|Maintain group of typed elements.|
122
122
|IHash\<Key, Value>|Maintain generic container.|
123
123
124
-
###Remarks
124
+
## Remarks
125
125
The object allocates and frees storage for the sequence it controls as individual nodes in a bidirectional linked list. To speed access, the object also maintains a varying-length array of pointers into the list (the hash table), effectively managing the whole list as a sequence of sublists, or buckets. It inserts elements into a bucket that it keeps ordered by altering the links between nodes, never by copying the contents of one node to another. That means you can insert and remove elements freely without disturbing remaining elements.
126
126
127
127
The object orders each bucket it controls by calling a stored delegate object of type [hash_set::key_compare (STL/CLR)](../dotnet/hash-set-key-compare-stl-clr.md). You can specify the stored delegate object when you construct the hash_set; if you specify no delegate object, the default is the comparison `operator<=(key_type, key_type)`.
@@ -154,6 +154,8 @@ template<typename Key>
154
154
155
155
Erasing or removing an element calls the destructor for its stored value. Destroying the container erases all elements. Thus, a container whose element type is a ref class ensures that no elements outlive the container. Note, however, that a container of handles does `not` destroy its elements.
156
156
157
+
## Members
158
+
157
159
## <aname="begin"></a> hash_set::begin (STL/CLR)
158
160
Designates the beginning of the controlled sequence.
Copy file name to clipboardExpand all lines: docs/dotnet/list-stl-clr.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ template<typename Value>
46
46
{ ..... };
47
47
```
48
48
49
-
####Parameters
49
+
### Parameters
50
50
Value
51
51
The type of an element in the controlled sequence.
52
52
@@ -55,7 +55,7 @@ template<typename Value>
55
55
56
56
**Namespace:** cliext
57
57
58
-
## Members
58
+
## Declarations
59
59
60
60
|Type Definition|Description|
61
61
|---------------------|-----------------|
@@ -140,6 +140,8 @@ template<typename Value>
140
140
141
141
Erasing or removing an element calls the destructor for its stored value. Destroying the container erases all elements. Thus, a container whose element type is a ref class ensures that no elements outlive the container. Note, however, that a container of handles does `not` destroy its elements.
Copy file name to clipboardExpand all lines: docs/dotnet/multimap-stl-clr.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,7 +45,7 @@ The template class describes an object that controls a varying-length sequence o
45
45
46
46
`GMapped` is the same as `Mapped` unless the latter is a ref type, in which case it is `Mapped^`
47
47
48
-
###Syntax
48
+
## Syntax
49
49
50
50
```
51
51
template<typename Key,
@@ -62,7 +62,7 @@ template<typename Key,
62
62
{ ..... };
63
63
```
64
64
65
-
####Parameters
65
+
### Parameters
66
66
Key
67
67
The type of the key component of an element in the controlled sequence.
68
68
@@ -140,7 +140,7 @@ template<typename Key,
140
140
|<xref:System.Collections.Generic.ICollection%601>|Maintain group of typed elements.|
141
141
|ITree\<Key, Value>|Maintain generic container.|
142
142
143
-
###Remarks
143
+
## Remarks
144
144
The object allocates and frees storage for the sequence it controls as individual nodes. It inserts elements into a (nearly) balanced tree that it keeps ordered by altering the links between nodes, never by copying the contents of one node to another. That means you can insert and remove elements freely without disturbing remaining elements.
145
145
146
146
The object orders the sequence it controls by calling a stored delegate object of type [multimap::key_compare (STL/CLR)](../dotnet/multimap-key-compare-stl-clr.md). You can specify the stored delegate object when you construct the multimap; if you specify no delegate object, the default is the comparison `operator<(key_type, key_type)`. You access this stored object by calling the member function [multimap::key_comp (STL/CLR)](../dotnet/multimap-key-comp-stl-clr.md)`()`.
0 commit comments