Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions docs/atl-mfc-shared/basic-cstring-operations.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
description: "Learn more about: Basic CString Operations"
title: "Basic CString Operations"
ms.date: "11/04/2016"
description: "Learn more about: Basic CString Operations"
ms.date: 11/04/2016
helpviewer_keywords: ["CString objects, basic operations", "string literals, CString operations", "literal strings, CString operations", "CString objects", "string comparison, CString operations", "characters, accessing in CStrings"]
ms.assetid: 41db66b2-9427-4bb3-845a-9b6869159a6c
---
# Basic CString Operations

Expand All @@ -19,7 +18,7 @@ This topic explains the following basic [CString](../atl-mfc-shared/reference/cs

- [Converting CString objects](#_core_converting_cstring_objects)

`Class CString` is based on class template [CStringT Class](../atl-mfc-shared/reference/cstringt-class.md). `CString` is a **`typedef`** of `CStringT`. More exactly, `CString` is a **`typedef`** of an *explicit specialization* of `CStringT`, which is a common way to use a class template to define a class. Similarly defined classes are `CStringA` and `CStringW`.
`Class CString` is based on class template [`CStringT`](../atl-mfc-shared/reference/cstringt-class.md). `CString` is a **`typedef`** of `CStringT`. More exactly, `CString` is a **`typedef`** of an *explicit specialization* of `CStringT`, which is a common way to use a class template to define a class. Similarly defined classes are `CStringA` and `CStringW`.

`CString`, `CStringA`, and `CStringW` are defined in atlstr.h. `CStringT` is defined in cstringt.h.

Expand Down
9 changes: 4 additions & 5 deletions docs/standard-library/array-operators.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
description: "Learn more about: <array> operators"
title: "<array> operators"
ms.date: "11/04/2016"
description: "Learn more about: <array> operators"
ms.date: 11/04/2016
f1_keywords: ["array/std::array::operator!=", "array/std::array::operator<", "array/std::array::operator<=", "array/std::array::operator>", "array/std::array::operator>=", "array/std::array::operator=="]
ms.assetid: c8f46282-f179-4909-9a01-639cb8e18c27
---
# `<array>` operators

Expand Down Expand Up @@ -116,7 +115,7 @@ Right container to compare.

### Remarks

The template function overloads `operator<` to compare two objects of class template [array Class](../standard-library/array-class-stl.md). The function returns `lexicographical_compare(left.begin(), left.end(), right.begin())`.
The template function overloads `operator<` to compare two objects of class template [`array`](../standard-library/array-class-stl.md). The function returns `lexicographical_compare(left.begin(), left.end(), right.begin())`.

### Example

Expand Down Expand Up @@ -262,7 +261,7 @@ Right container to compare.

### Remarks

The template function overloads `operator==` to compare two objects of class template [array Class](../standard-library/array-class-stl.md). The function returns `equal(left.begin(), left.end(), right.begin())`.
The template function overloads `operator==` to compare two objects of class template [`array`](../standard-library/array-class-stl.md). The function returns `equal(left.begin(), left.end(), right.begin())`.

### Example

Expand Down
7 changes: 3 additions & 4 deletions docs/standard-library/char-traits-char-struct.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
description: "Learn more about: char_traits<char> Struct"
title: "char_traits<char> Struct"
ms.date: "11/04/2016"
description: "Learn more about: char_traits<char> Struct"
ms.date: 11/04/2016
f1_keywords: ["iosfwd/std::char_traits<char>", "char_traits<char >"]
helpviewer_keywords: ["char_traits<char> class"]
ms.assetid: abd9373a-77db-4031-bf4b-f8ac15087581
---
# `char_traits<char>` Struct

Expand All @@ -23,4 +22,4 @@ Specialization allows the struct to take advantage of library functions that man

## Example

See the typedefs and member functions of the class template [char_traits Class](../standard-library/char-traits-struct.md)
See the typedefs and member functions of the class template [`char_traits`](../standard-library/char-traits-struct.md)
7 changes: 3 additions & 4 deletions docs/standard-library/cvt-wbuffer.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
---
description: "Learn more about: <cvt/wbuffer>"
title: "<cvt/wbuffer>"
ms.date: "11/04/2016"
description: "Learn more about: <cvt/wbuffer>"
ms.date: 11/04/2016
f1_keywords: ["stdext.cvt.<cvt/wbuffer>", "stdext::cvt::<cvt/wbuffer>", "<cvt/wbuffer>"]
helpviewer_keywords: ["cvt/wbuffer header"]
ms.assetid: 6e6eb44c-1bc4-4d8c-a4bd-b39c753ce725
---
# `<cvt/wbuffer>`

The header `<cvt/wstring>` in previous versions of Visual Studio defined the class template [wbuffer_convert Class](../standard-library/wbuffer-convert-class.md) in the stdext::cvt namespace. The header is maintained for backward compatibility. New code should use the version of the class that is defined in [\<locale>](../standard-library/locale.md) in the `std` namespace
The header `<cvt/wstring>` in previous versions of Visual Studio defined the class template [`wbuffer_convert`](../standard-library/wbuffer-convert-class.md) in the stdext::cvt namespace. The header is maintained for backward compatibility. New code should use the version of the class that is defined in [\<locale>](../standard-library/locale.md) in the `std` namespace

## Syntax

Expand Down
9 changes: 3 additions & 6 deletions docs/standard-library/cvt-wstring.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
---
description: "Learn more about: <cvt/wstring>"
title: "<cvt/wstring>"
ms.date: "11/04/2016"
description: "Learn more about: <cvt/wstring>"
ms.date: 11/04/2016
f1_keywords: ["stdext.cvt.<cvt/wstring>", "<cvt/wstring>", "stdext::cvt::<cvt/wstring>"]
helpviewer_keywords: ["cvt/wstring header"]
ms.assetid: d78b04bb-9ac0-4adb-8ffe-3aefb9b14c2d
---
# `<cvt/wstring>`

The header `<cvt/wstring>` in previous versions of Visual Studio defined the class template [wstring_convert Class](../standard-library/wstring-convert-class.md) in the stdext::cvt namespace. The header is maintained for backward compatibility. New code should use the version of the class that is defined in [\<locale>](../standard-library/locale.md) in the `std` namespace
The header `<cvt/wstring>` in previous versions of Visual Studio defined the class template [`wstring_convert`](wstring-convert-class.md) in the `stdext::cvt` namespace. The header is maintained for backward compatibility. New code should use the version of the class that is defined in [`<locale>`](locale.md) in the `std` namespace.

## Syntax

```cpp
#include <cvt/wstring>
```

## Requirements

## See also

[Header Files Reference](../standard-library/cpp-standard-library-header-files.md)
7 changes: 3 additions & 4 deletions docs/standard-library/regex-traits-class.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
description: "Learn more about: regex_traits Class"
title: "regex_traits Class"
ms.date: "09/10/2018"
description: "Learn more about: regex_traits Class"
ms.date: 09/10/2018
f1_keywords: ["regex/std::regex_traits", "regex/std::regex_traits::char_type", "regex/std::regex_traits::size_type", "regex/std::regex_traits::string_type", "regex/std::regex_traits::locale_type", "regex/std::regex_traits::char_class_type", "regex/std::regex_traits::length", "regex/std::regex_traits::translate", "regex/std::regex_traits::translate_nocase", "regex/std::regex_traits::transform", "regex/std::regex_traits::transform_primary", "regex/std::regex_traits::lookup_classname", "regex/std::regex_traits::lookup_collatename", "regex/std::regex_traits::isctype", "regex/std::regex_traits::value", "regex/std::regex_traits::imbue", "regex/std::regex_traits::getloc"]
helpviewer_keywords: ["std::regex_traits [C++]", "std::regex_traits [C++], char_type", "std::regex_traits [C++], size_type", "std::regex_traits [C++], string_type", "std::regex_traits [C++], locale_type", "std::regex_traits [C++], char_class_type", "std::regex_traits [C++], length", "std::regex_traits [C++], translate", "std::regex_traits [C++], translate_nocase", "std::regex_traits [C++], transform", "std::regex_traits [C++], transform_primary", "std::regex_traits [C++], lookup_classname", "std::regex_traits [C++], lookup_collatename", "std::regex_traits [C++], isctype", "std::regex_traits [C++], value", "std::regex_traits [C++], imbue", "std::regex_traits [C++], getloc"]
ms.assetid: bc5a5eed-32fc-4eb7-913d-71c42e729e81
---
# regex_traits Class

Expand All @@ -24,7 +23,7 @@ The character element type to describe.

## Remarks

The class template describes various regular expression traits for type *Elem*. The class template [basic_regex Class](../standard-library/basic-regex-class.md) uses this information to manipulate elements of type *Elem*.
The class template describes various regular expression traits for type *Elem*. The class template [`basic_regex`](../standard-library/basic-regex-class.md) uses this information to manipulate elements of type *Elem*.

Each `regex_traits` object holds an object of type `regex_traits::locale` which is used by some of its member functions. The default locale is a copy of `regex_traits::locale()`. The member function `imbue` replaces the locale object, and the member function `getloc` returns a copy of the locale object.

Expand Down
36 changes: 18 additions & 18 deletions docs/standard-library/regex-typedefs.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ typedef match_results<const char*> cmatch;

### Remarks

The type describes a specialization of class template [match_results Class](../standard-library/match-results-class.md) for iterators of type `const char*`.
The type describes a specialization of class template [`match_results`](../standard-library/match-results-class.md) for iterators of type `const char*`.

## <a name="cregex_iterator"></a> cregex_iterator Typedef

Expand All @@ -30,7 +30,7 @@ typedef regex_iterator<const char*> cregex_iterator;

### Remarks

The type describes a specialization of class template [regex_iterator Class](../standard-library/regex-iterator-class.md) for iterators of type `const char*`.
The type describes a specialization of class template [`regex_iterator`](../standard-library/regex-iterator-class.md) for iterators of type `const char*`.

## <a name="cregex_token_iterator"></a> cregex_token_iterator Typedef

Expand All @@ -42,7 +42,7 @@ typedef regex_token_iterator<const char*> cregex_token_iterator;

### Remarks

The type describes a specialization of class template [regex_token_iterator Class](../standard-library/regex-token-iterator-class.md) for iterators of type `const char*`.
The type describes a specialization of class template [`regex_token_iterator`](../standard-library/regex-token-iterator-class.md) for iterators of type `const char*`.

## <a name="csub_match"></a> csub_match Typedef

Expand All @@ -54,7 +54,7 @@ typedef sub_match<const char*> csub_match;

### Remarks

The type describes a specialization of class template [sub_match Class](../standard-library/sub-match-class.md) for iterators of type `const char*`.
The type describes a specialization of class template [`sub_match`](../standard-library/sub-match-class.md) for iterators of type `const char*`.

## <a name="regex"></a> regex Typedef

Expand All @@ -66,7 +66,7 @@ typedef basic_regex<char> regex;

### Remarks

The type describes a specialization of class template [basic_regex Class](../standard-library/basic-regex-class.md) for elements of type **`char`**.
The type describes a specialization of class template [`basic_regex`](../standard-library/basic-regex-class.md) for elements of type **`char`**.

> [!NOTE]
> High-bit characters will have unpredictable results with `regex`. Values outside the range of 0 to 127 may result in undefined behavior.
Expand All @@ -81,7 +81,7 @@ typedef match_results<string::const_iterator> smatch;

### Remarks

The type describes a specialization of class template [match_results Class](../standard-library/match-results-class.md) for iterators of type `string::const_iterator`.
The type describes a specialization of class template [`match_results`](../standard-library/match-results-class.md) for iterators of type `string::const_iterator`.

## <a name="sregex_iterator"></a> sregex_iterator Typedef

Expand All @@ -93,7 +93,7 @@ typedef regex_iterator<string::const_iterator> sregex_iterator;

### Remarks

The type describes a specialization of class template [regex_iterator Class](../standard-library/regex-iterator-class.md) for iterators of type `string::const_iterator`.
The type describes a specialization of class template [`regex_iterator`](../standard-library/regex-iterator-class.md) for iterators of type `string::const_iterator`.

## <a name="sregex_token_iterator"></a> sregex_token_iterator Typedef

Expand All @@ -105,7 +105,7 @@ typedef regex_token_iterator<string::const_iterator> sregex_token_iterator;

### Remarks

The type describes a specialization of class template [regex_token_iterator Class](../standard-library/regex-token-iterator-class.md) for iterators of type `string::const_iterator`.
The type describes a specialization of class template [`regex_token_iterator`](../standard-library/regex-token-iterator-class.md) for iterators of type `string::const_iterator`.

## <a name="ssub_match"></a> ssub_match Typedef

Expand All @@ -117,7 +117,7 @@ typedef sub_match<string::const_iterator> ssub_match;

### Remarks

The type describes a specialization of class template [sub_match Class](../standard-library/sub-match-class.md) for iterators of type `string::const_iterator`.
The type describes a specialization of class template [`sub_match`](../standard-library/sub-match-class.md) for iterators of type `string::const_iterator`.

## <a name="wcmatch"></a> wcmatch Typedef

Expand All @@ -129,7 +129,7 @@ typedef match_results<const wchar_t *> wcmatch;

### Remarks

The type describes a specialization of class template [match_results Class](../standard-library/match-results-class.md) for iterators of type `const wchar_t*`.
The type describes a specialization of class template [`match_results`](../standard-library/match-results-class.md) for iterators of type `const wchar_t*`.

## <a name="wcregex_iterator"></a> wcregex_iterator Typedef

Expand All @@ -141,7 +141,7 @@ typedef regex_iterator<const wchar_t*> wcregex_iterator;

### Remarks

The type describes a specialization of class template [regex_iterator Class](../standard-library/regex-iterator-class.md) for iterators of type `const wchar_t*`.
The type describes a specialization of class template [`regex_iterator`](../standard-library/regex-iterator-class.md) for iterators of type `const wchar_t*`.

## <a name="wcregex_token_iterator"></a> wcregex_token_iterator Typedef

Expand All @@ -153,7 +153,7 @@ typedef regex_token_iterator<const wchar_t*> wcregex_token_iterator;

### Remarks

The type describes a specialization of class template [regex_token_iterator Class](../standard-library/regex-token-iterator-class.md) for iterators of type `const wchar_t*`.
The type describes a specialization of class template [`regex_token_iterator`](../standard-library/regex-token-iterator-class.md) for iterators of type `const wchar_t*`.

## <a name="wcsub_match"></a> wcsub_match Typedef

Expand All @@ -165,7 +165,7 @@ typedef sub_match<const wchar_t*> wcsub_match;

### Remarks

The type describes a specialization of class template [sub_match Class](../standard-library/sub-match-class.md) for iterators of type `const wchar_t*`.
The type describes a specialization of class template [`sub_match`](../standard-library/sub-match-class.md) for iterators of type `const wchar_t*`.

## <a name="wregex"></a> wregex Typedef

Expand All @@ -177,7 +177,7 @@ typedef basic_regex<wchar_t> wregex;

### Remarks

The type describes a specialization of class template [basic_regex Class](../standard-library/basic-regex-class.md) for elements of type **`wchar_t`**.
The type describes a specialization of class template [`basic_regex`](../standard-library/basic-regex-class.md) for elements of type **`wchar_t`**.

## <a name="wsmatch"></a> wsmatch Typedef

Expand All @@ -189,7 +189,7 @@ typedef match_results<wstring::const_iterator> wsmatch;

### Remarks

The type describes a specialization of class template [match_results Class](../standard-library/match-results-class.md) for iterators of type `wstring::const_iterator`.
The type describes a specialization of class template [`match_results`](../standard-library/match-results-class.md) for iterators of type `wstring::const_iterator`.

## <a name="wsregex_iterator"></a> wsregex_iterator Typedef

Expand All @@ -201,7 +201,7 @@ typedef regex_iterator<wstring::const_iterator> wsregex_iterator;

### Remarks

The type describes a specialization of class template [regex_iterator Class](../standard-library/regex-iterator-class.md) for iterators of type `wstring::const_iterator`.
The type describes a specialization of class template [`regex_iterator`](../standard-library/regex-iterator-class.md) for iterators of type `wstring::const_iterator`.

## <a name="wsregex_token_iterator"></a> wsregex_token_iterator Typedef

Expand All @@ -213,7 +213,7 @@ typedef regex_token_iterator<wstring::const_iterator> wsregex_token_iterator;

### Remarks

The type describes a specialization of class template [regex_token_iterator Class](../standard-library/regex-token-iterator-class.md) for iterators of type `wstring::const_iterator`.
The type describes a specialization of class template [`regex_token_iterator`](../standard-library/regex-token-iterator-class.md) for iterators of type `wstring::const_iterator`.

## <a name="wssub_match"></a> wssub_match Typedef

Expand All @@ -225,7 +225,7 @@ typedef sub_match<wstring::const_iterator> wssub_match;

### Remarks

The type describes a specialization of class template [sub_match Class](../standard-library/sub-match-class.md) for iterators of type `wstring::const_iterator`.
The type describes a specialization of class template [`sub_match`](../standard-library/sub-match-class.md) for iterators of type `wstring::const_iterator`.

## See also

Expand Down
Loading