Skip to content

Commit cae5cdc

Browse files
author
msebolt
committed
validation fix
1 parent 270eec1 commit cae5cdc

2 files changed

Lines changed: 21 additions & 13 deletions

File tree

‎docs/standard-library/exception-functions.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ helpviewer_keywords: ["std::current_exception [C++]", "std::get_terminate [C++]"
1111
|-|-|-|
1212
|[current_exception](#current_exception)|[get_terminate](#get_terminate)|[get_unexpected](#get_unexpected)|
1313
|[make_exception_ptr](#make_exception_ptr)|[rethrow_exception](#rethrow_exception)|[rethrow_if_nested](#rethrow_if_nested)|
14-
|[set_terminate](#set_terminate)|[set_unexpected](#set_unexpected)|][throw_if_nested](#throw_if_nested)|
14+
|[set_terminate](#set_terminate)|[set_unexpected](#set_unexpected)|][throw_with_nested](#throw_with_nested)|
1515
|[terminate](#terminate)|[uncaught_exception](#uncaught_exception)|[unexpected](#unexpected)|
1616

1717
## <a name="current_exception"></a> current_exception
@@ -215,7 +215,7 @@ A terminate handler may not return to its caller. At program startup, the termin
215215

216216
See [set_unexpected](../standard-library/exception-functions.md#set_unexpected) for an example of the use of `terminate`.
217217

218-
## <a name="throw_if_nested"> throw_if_nested
218+
## <a name="throw_with_nested"> throw_with_nested
219219

220220
```cpp
221221
template <class T> [[noreturn]]

‎docs/standard-library/new-operators.md‎

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,27 @@
11
---
2-
title: "&lt;new&gt; operators"
2+
title: "&lt;new&gt; operators and enums"
33
ms.date: "11/04/2016"
44
f1_keywords: ["new/std::operator delete", "new/std::operator new"]
55
ms.assetid: d1af4b56-9a95-4c65-ab01-bf43e982c7bd
66
---
7-
# &lt;new&gt; operators
7+
# &lt;new&gt; operators and enums
88

99
||||
1010
|-|-|-|
11-
|[operator delete](#op_delete)|[operator delete[]](#op_delete_arr)|[operator new](#op_new)|
12-
|[operator new[]](#op_new_arr)|
11+
|[enum align_val_t](#op_align_val_t)|[operator delete](#op_delete)|[operator delete[]](#op_delete_arr)|
12+
|[operator new](#op_new)|[operator new[]](#op_new_arr)||
1313

14-
## <a name="op_delete"></a> operator delete
1514

16-
The function called by a delete expression to deallocate storage for individual of objects.
15+
16+
## <a name="op_align_val_t"></a> enum align_val_t
17+
18+
```cpp
19+
enum class align_val_t : size_t {};
20+
```
21+
22+
## <a name="op_delete"></a> operator delete
23+
24+
The function called by a delete expression to de-allocate storage for individual of objects.
1725
1826
```cpp
1927
void operator delete(void* ptr) throw();
@@ -49,11 +57,11 @@ See [operator new](../standard-library/new-operators.md#op_new) for an example t
4957
The function called by a delete expression to deallocate storage for an array of objects.
5058

5159
```cpp
52-
void operator delete[](void* ptr) throw();
53-
54-
void operator delete[](void *, void*) throw();
55-
56-
void operator delete[](void* ptr, const std::nothrow_t&) throw();
60+
void operator delete[](void* ptr) throw();
61+
62+
void operator delete[](void *, void*) throw();
63+
64+
void operator delete[](void* ptr, const std::nothrow_t&) throw();
5765
```
5866

5967
### Parameters

0 commit comments

Comments
 (0)