Skip to content

Commit 2e11c73

Browse files
author
Colin Robertson
committed
Pass to fix things before fixing trailing spaces
1 parent b9c0321 commit 2e11c73

File tree

51 files changed

+598
-649
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+598
-649
lines changed

docs/cppcx/array-and-writeonlyarray-c-cx.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,6 @@ You can freely use regular C-style arrays or [std::array](../standard-library/ar
8383
In general, you should avoid exposing a `Platform::Array` type as a property in a ref class because the entire array is returned even when client code is only attempting to access a single element. When you need to expose a sequence container as a property in a public ref class, [Windows::Foundation::IVector](https://msdn.microsoft.com/library/windows/apps/br206631.aspx) is a better choice. In private or internal APIs (which are not published to metadata), consider using a standard C++ container such as [std::vector](../standard-library/vector-class.md).
8484

8585
## See Also
86-
[Type System](../cppcx/type-system-c-cx.md)
87-
[Visual C++ Language Reference](../cppcx/visual-c-language-reference-c-cx.md)
88-
[Namespaces Reference](../cppcx/namespaces-reference-c-cx.md)
86+
[Type System](../cppcx/type-system-c-cx.md)<br/>
87+
[Visual C++ Language Reference](../cppcx/visual-c-language-reference-c-cx.md)<br/>
88+
[Namespaces Reference](../cppcx/namespaces-reference-c-cx.md)

docs/cppcx/attributes-c-cx.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ An attribute is a special kind of ref class that can be prepended in square brac
4242
[!code-cpp[cx_attributes#02](../cppcx/codesnippet/CPP/cx_attributes/class1.h#02)]
4343

4444
## See Also
45-
[Type System (C++/CX)](../cppcx/type-system-c-cx.md)
46-
[Visual C++ Language Reference](../cppcx/visual-c-language-reference-c-cx.md)
47-
[Namespaces Reference](../cppcx/namespaces-reference-c-cx.md)
45+
[Type System (C++/CX)](../cppcx/type-system-c-cx.md)<br/>
46+
[Visual C++ Language Reference](../cppcx/visual-c-language-reference-c-cx.md)<br/>
47+
[Namespaces Reference](../cppcx/namespaces-reference-c-cx.md)

docs/cppcx/back-inserter-function.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ Platform::BackInsertIterator<T>
2929
```
3030

3131
#### Parameters
32-
`T`
33-
A template type parameter.
32+
*T*<br/>
33+
A template type parameter.
3434

35-
`v`
36-
An interface pointer that provides access to the underlying collection.
35+
*v*<br/>
36+
An interface pointer that provides access to the underlying collection.
3737

3838
### Return Value
3939
An iterator.

docs/cppcx/begin-function.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ template <typename T>
3838
```
3939

4040
#### Parameters
41-
`T`
42-
A template type parameter.
41+
*T*<br/>
42+
A template type parameter.
4343

44-
`v`
45-
A collection of Vector\<T> or VectorView\<T> objects that are accessed by an IVector\<T> or IVectorView\<T> interface.
44+
*v*<br/>
45+
A collection of Vector\<T> or VectorView\<T> objects that are accessed by an IVector\<T> or IVectorView\<T> interface.
4646

47-
`i`
48-
A collection of arbitrary Windows Runtime objects that are accessed by an IIterable\<T> interface.
47+
*i*<br/>
48+
A collection of arbitrary Windows Runtime objects that are accessed by an IIterable\<T> interface.
4949

5050
### Return Value
5151
An iterator that points to the beginning of the collection.

docs/cppcx/boxing-c-cx.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ ms.workload: ["cplusplus"]
3535
```
3636

3737
## See Also
38-
[Type System (C++/CX)](../cppcx/type-system-c-cx.md)
39-
[Casting (C++/CX)](../cppcx/casting-c-cx.md)
40-
[Visual C++ Language Reference](../cppcx/visual-c-language-reference-c-cx.md)
41-
[Namespaces Reference](../cppcx/namespaces-reference-c-cx.md)
38+
[Type System (C++/CX)](../cppcx/type-system-c-cx.md)<br/>
39+
[Casting (C++/CX)](../cppcx/casting-c-cx.md)<br/>
40+
[Visual C++ Language Reference](../cppcx/visual-c-language-reference-c-cx.md)<br/>
41+
[Namespaces Reference](../cppcx/namespaces-reference-c-cx.md)

docs/cppcx/collections-c-cx.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -95,28 +95,28 @@ void FindButton(UIElementCollection^ col)
9595

9696
Elements of a modifiable collection can be changed, but elements of a read-only collection, which is known as a *view*, can only be read. Elements of a [Platform::Collections::Vector](../cppcx/platform-collections-vector-class.md) or[Platform::Collections::VectorView](../cppcx/platform-collections-vectorview-class.md) collection can be accessed by using an iterator or the collection's [Vector::GetAt](../cppcx/platform-collections-vector-class.md#getat) and an index. Elements of an associative collection can be accessed by using the collection's [Map::Lookup](../cppcx/platform-collections-map-class.md#lookup) and a key.
9797

98-
[Platform::Collections::Map Class](../cppcx/platform-collections-map-class.md)
99-
A modifiable, associative collection. Map elements are key-value pairs. Looking up a key to retrieve its associated value, and iterating through all key-value pairs, are both supported.
98+
[Platform::Collections::Map Class](../cppcx/platform-collections-map-class.md)<br/>
99+
A modifiable, associative collection. Map elements are key-value pairs. Looking up a key to retrieve its associated value, and iterating through all key-value pairs, are both supported.
100100

101101
`Map` and `MapView` are templated on `<K, V, C = std::less<K>>`; therefore, you can customize the comparator. Additionally, `Vector` and `VectorView` are templated on `<T, E = std::equal_to<T>>` so that you can customize the behavior of `IndexOf()`. This is important mostly for `Vector` and `VectorView` of value structs. For example, to create a Vector\<Windows::Foundation::DateTime>, you must provide a custom comparator because DateTime does not overload the == operator.
102102

103-
[Platform::Collections::MapView Class](../cppcx/platform-collections-mapview-class.md)
104-
A read-only version of a `Map`.
103+
[Platform::Collections::MapView Class](../cppcx/platform-collections-mapview-class.md)<br/>
104+
A read-only version of a `Map`.
105105

106-
[Platform::Collections::Vector Class](../cppcx/platform-collections-vector-class.md)
107-
A modifiable sequence collection. `Vector<T>` supports constant-time random access and amortized-constant-time [Append](../cppcx/platform-collections-vector-class.md#append) operations..
106+
[Platform::Collections::Vector Class](../cppcx/platform-collections-vector-class.md)<br/>
107+
A modifiable sequence collection. `Vector<T>` supports constant-time random access and amortized-constant-time [Append](../cppcx/platform-collections-vector-class.md#append) operations..
108108

109-
[Platform::Collections::VectorView Class](../cppcx/platform-collections-vectorview-class.md)
110-
A read-only version of a `Vector`.
109+
[Platform::Collections::VectorView Class](../cppcx/platform-collections-vectorview-class.md)<br/>
110+
A read-only version of a `Vector`.
111111

112-
[Platform::Collections::InputIterator Class](../cppcx/platform-collections-inputiterator-class.md)
113-
An STL iterator that satisfies the requirements of an STL input iterator.
112+
[Platform::Collections::InputIterator Class](../cppcx/platform-collections-inputiterator-class.md)<br/>
113+
An STL iterator that satisfies the requirements of an STL input iterator.
114114

115-
[Platform::Collections::VectorIterator Class](../cppcx/platform-collections-vectoriterator-class.md)
116-
An STL iterator that satisfies the requirements of an STL mutable random-access iterator.
115+
[Platform::Collections::VectorIterator Class](../cppcx/platform-collections-vectoriterator-class.md)<br/>
116+
An STL iterator that satisfies the requirements of an STL mutable random-access iterator.
117117

118-
[Platform::Collections::VectorViewIterator Class](../cppcx/platform-collections-vectorviewiterator-class.md)
119-
An STL iterator that satisfies the requirements of an STL `const` random-access iterator.
118+
[Platform::Collections::VectorViewIterator Class](../cppcx/platform-collections-vectorviewiterator-class.md)<br/>
119+
An STL iterator that satisfies the requirements of an STL `const` random-access iterator.
120120

121121
### begin() and end() functions
122122
To simplify the use of the STL to process `Vector`, `VectorView`, `Map`, `MapView`, and arbitrary `Windows::Foundation::Collections` objects, C++/CX supports overloads of the [begin Function](../cppcx/begin-function.md) and [end Function](../cppcx/end-function.md) non-member functions.
@@ -137,6 +137,6 @@ void FindButton(UIElementCollection^ col)
137137
The [Windows::Foundation::Collections::VectorChangedEventHandler](/uwp/api/windows.foundation.collections.vectorchangedeventhandler) and [Windows::Foundation::Collections::MapChangedEventHandler](/uwp/api/windows.foundation.collections.mapchangedeventhandler) delegates specify the signatures for event handlers for collection change events. The [Windows::Foundation::Collections::CollectionChange](https://msdn.microsoft.com/library/windows/apps/windows.foundation.collections.collectionchange.aspx) public enum class, and `Platform::Collection::Details::MapChangedEventArgs` and `Platform::Collections::Details::VectorChangedEventArgs` ref classes, store the event arguments to determine what caused the event. The *`EventArgs` types are defined in the `Details` namespace because you don't have to construct or consume them explicitly when you use `Map` or `Vector`.
138138

139139
## See Also
140-
[Type System](../cppcx/type-system-c-cx.md)
141-
[Visual C++ Language Reference](../cppcx/visual-c-language-reference-c-cx.md)
142-
[Namespaces Reference](../cppcx/namespaces-reference-c-cx.md)
140+
[Type System](../cppcx/type-system-c-cx.md)<br/>
141+
[Visual C++ Language Reference](../cppcx/visual-c-language-reference-c-cx.md)<br/>
142+
[Namespaces Reference](../cppcx/namespaces-reference-c-cx.md)

docs/cppcx/default-type-name-gethashcode-method.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Returns the hash code for this instance.
1717
## Syntax
1818

1919
```cpp
20-
public:int GetHashCode()
20+
public:int GetHashCode();
2121
```
2222

2323
### Return Value

docs/cppcx/default-type-name-gettype-method.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ Returns a Platform::Type^ that represents the current type.
1616

1717
## Syntax
1818

19-
```cpp
20-
21-
Platform::Type^ GetType()
19+
```cpp
20+
Platform::Type^ GetType();
2221
```
2322

2423
### Return Value

docs/cppcx/default-type-name-tostring-method.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ Returns a string that represents the current type.
1616

1717
## Syntax
1818

19-
```cpp
20-
21-
String^ ToString()
19+
```cpp
20+
String^ ToString();
2221
```
2322

2423
### Return Value

docs/cppcx/delegates-c-cx.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,6 @@ event PrimeFoundHandler^ primeFoundEvent;
124124
If you are familiar with event handlers in .NET, you know that the recommended practice is to make a local copy of an event before you fire it. This avoids race conditions in which an event handler might be removed just before the event is invoked. It isn’t necessary to do this in C++/CX because when event handlers are added or removed a new handler list is created. Because a C++ object increments the reference count on the handler list before invoking an event, it is guaranteed that all handlers will be valid. However, this also means that if you remove an event handler on the consuming thread, that handler might still get invoked if the publishing object is still operating on its copy of the list, which is now out-of-date. The publishing object will not get the updated list until the next time it fires the event.
125125

126126
## See Also
127-
[Type System](../cppcx/type-system-c-cx.md)
128-
[Visual C++ Language Reference](../cppcx/visual-c-language-reference-c-cx.md)
129-
[Namespaces Reference](../cppcx/namespaces-reference-c-cx.md)
127+
[Type System](../cppcx/type-system-c-cx.md)<br/>
128+
[Visual C++ Language Reference](../cppcx/visual-c-language-reference-c-cx.md)<br/>
129+
[Namespaces Reference](../cppcx/namespaces-reference-c-cx.md)

0 commit comments

Comments
 (0)