Skip to content

Commit 7f6e2a2

Browse files
author
mikeblome
committed
fixed formatting of id nested class
1 parent 005faae commit 7f6e2a2

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

‎docs/standard-library/locale-class.md‎

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "locale Class"
3-
ms.date: "11/04/2016"
3+
ms.date: "03/19/2019"
44
f1_keywords: ["xlocale/std::locale", "xlocale/std::locale::category", "xlocale/std::locale::combine", "xlocale/std::locale::name", "xlocale/std::locale::classic", "xlocale/std::locale::global", "xlocale/std::locale::operator( )", "xlocale/std::locale::facet", "xlocale/std::locale::id"]
55
helpviewer_keywords: ["std::locale [C++]", "std::locale [C++], category", "std::locale [C++], combine", "std::locale [C++], name", "std::locale [C++], classic", "std::locale [C++], global", "std::locale [C++], facet", "std::locale [C++], id"]
66
ms.assetid: 7dd6d271-472d-4750-8fb5-ea8f55fbef62
@@ -380,10 +380,14 @@ The previous locale was: C
380380

381381
The member class provides a unique facet identification used as an index for looking up facets in a locale.
382382

383-
class id { protected: id();
384-
private: id(const id&)
385-
// not defined void operator=(const id&) // not defined };
386-
383+
```cpp
384+
class id
385+
{
386+
protected: id();
387+
private: id(const id&)
388+
void operator=(const id&) // not defined
389+
};
390+
```
387391
### Remarks
388392

389393
The member class describes the static member object required by each unique locale facet. Note that you cannot copy or assign an object of class `id`.

0 commit comments

Comments
 (0)