Skip to content

Commit 1065424

Browse files
authored
Update compiler-warning-level-2-c4150.md
1 parent 7aaa116 commit 1065424

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/error-messages/compiler-warnings/compiler-warning-level-2-c4150.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ helpviewer_keywords: ["C4150"]
1111
1212
The `delete` operator is called to delete a type that was declared but not defined. The compiler can't find the destructor to call because the definition isn't in the same translation unit as the `delete`.
1313

14+
## Example
15+
1416
The following sample generates C4150 by declaring but not defining `class IncClass`:
1517

1618
```cpp
@@ -75,3 +77,8 @@ void NoDestruct( IncClass* pIncClass )
7577
}
7678
7779
```
80+
81+
## See Also
82+
83+
* [Projects and build systems](../../build/projects-and-build-systems-cpp.md)
84+
* [Source files and source programs](../../c-language/source-files-and-source-programs.md)

0 commit comments

Comments
 (0)