Skip to content
Merged
174 changes: 87 additions & 87 deletions docs/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,100 +160,100 @@
"windows/**.md": "windows-development"
},
"ms.update-cycle": {
"assembler/**.{md,yml}": "3650-days",
"attributes/**.{md,yml}": "3650-days",
"atl/**.{md,yml}": "3650-days",
"atl-mfc-shared/**.{md,yml}": "3650-days",
"build/**.{md,yml}": "1825-days",
"c-language/**.{md,yml}": "3650-days",
"c-runtime-library/**.{md,yml}": "3650-days",
"assembler/**/**.{md,yml}": "3650-days",
"attributes/**/**.{md,yml}": "3650-days",
"atl/**/**.{md,yml}": "3650-days",
"atl-mfc-shared/**/**.{md,yml}": "3650-days",
"build/**/**.{md,yml}": "1825-days",
"c-language/**/**.{md,yml}": "3650-days",
"c-runtime-library/**/**.{md,yml}": "3650-days",
"cpp/**.md": "1095-days",
"cppcx/**.{md,yml}": "3650-days",
"cross-platform/**.{md,yml}": "1825-days",
"data/**.{md,yml}": "3650-days",
"dotnet/**.{md,yml}": "3650-days",
"embedded/**.{md,yml}": "3650-days",
"error-messages/**.{md,yml}": "3650-days",
"extensions/**.{md,yml}": "3650-days",
"intrinsics/**.{md,yml}": "3650-days",
"mfc/**.{md,yml}": "3650-days",
"parallel/**.{md,yml}": "3650-days",
"porting/**.{md,yml}": "1095-days",
"preprocessor/**.{md,yml}": "3650-days",
"safeint/**.{md,yml}": "3650-days",
"standard-library/**.{md,yml}": "3650-days",
"text/**.{md,yml}": "3650-days",
"windows/**.{md,yml}": "1825-days"
"cppcx/**/**.{md,yml}": "3650-days",
"cross-platform/**/**.{md,yml}": "1825-days",
"data/**/**.{md,yml}": "3650-days",
"dotnet/**/**.{md,yml}": "3650-days",
"embedded/**/**.{md,yml}": "3650-days",
"error-messages/**/**.{md,yml}": "3650-days",
"extensions/**/**.{md,yml}": "3650-days",
"intrinsics/**/**.{md,yml}": "3650-days",
"mfc/**/**.{md,yml}": "3650-days",
"parallel/**/**.{md,yml}": "3650-days",
"porting/**/**.{md,yml}": "1095-days",
"preprocessor/**/**.{md,yml}": "3650-days",
"safeint/**/**.{md,yml}": "3650-days",
"standard-library/**/**.{md,yml}": "3650-days",
"text/**/**.{md,yml}": "3650-days",
"windows/**/**.{md,yml}": "1825-days"
},
"author": {
"index.md": "tylermsft",
"assembler/**.{md,yml}": "tylermsft",
"attributes/**.{md,yml}": "tylermsft",
"atl/**.{md,yml}": "tylermsft",
"atl-mfc-shared/**.{md,yml}": "tylermsft",
"build/**.{md,yml}": "tylermsft",
"build-insights/**.{md,yml}": "tylermsft",
"c-language/**.{md,yml}": "tylermsft",
"c-runtime-library/**.{md,yml}": "tylermsft",
"cloud/**.{md,yml}": "tylermsft",
"code-quality/**.{md,yml}": "tylermsft",
"cpp/**.{md,yml}": "tylermsft",
"cppcx/**.{md,yml}": "tylermsft",
"cross-platform/**.{md,yml}": "tylermsft",
"data/**.{md,yml}": "tylermsft",
"dotnet/**.{md,yml}": "tylermsft",
"error-messages/**.{md,yml}": "tylermsft",
"extensions/**.{md,yml}": "tylermsft",
"get-started/**.{md,yml}": "tylermsft",
"ide/**.{md,yml}": "tylermsft",
"intrinsics/**.{md,yml}": "tylermsft",
"linux/**.{md,yml}": "tylermsft",
"mfc/**.{md,yml}": "tylermsft",
"overview/**.{md,yml}": "tylermsft",
"parallel/**.{md,yml}": "tylermsft",
"porting/**.{md,yml}": "tylermsft",
"preprocessor/**.{md,yml}": "tylermsft",
"safeint/**.{md,yml}": "tylermsft",
"sanitizers/**.{md,yml}": "tylermsft",
"security/**.{md,yml}": "tylermsft",
"standard-library/**.{md,yml}": "tylermsft",
"text/**.{md,yml}": "tylermsft",
"windows/**.{md,yml}": "tylermsft"
"assembler/**/**.{md,yml}": "tylermsft",
"attributes/**/**.{md,yml}": "tylermsft",
"atl/**/**.{md,yml}": "tylermsft",
"atl-mfc-shared/**/**.{md,yml}": "tylermsft",
"build/**/**.{md,yml}": "tylermsft",
"build-insights/**/**.{md,yml}": "tylermsft",
"c-language/**/**.{md,yml}": "tylermsft",
"c-runtime-library/**/**.{md,yml}": "tylermsft",
"cloud/**/**.{md,yml}": "tylermsft",
"code-quality/**/**.{md,yml}": "tylermsft",
"cpp/**/**.{md,yml}": "tylermsft",
"cppcx/**/**.{md,yml}": "tylermsft",
"cross-platform/**/**.{md,yml}": "tylermsft",
"data/**/**.{md,yml}": "tylermsft",
"dotnet/**/**.{md,yml}": "tylermsft",
"error-messages/**/**.{md,yml}": "tylermsft",
"extensions/**/**.{md,yml}": "tylermsft",
"get-started/**/**.{md,yml}": "tylermsft",
"ide/**/**.{md,yml}": "tylermsft",
"intrinsics/**/**.{md,yml}": "tylermsft",
"linux/**/**.{md,yml}": "tylermsft",
"mfc/**/**.{md,yml}": "tylermsft",
"overview/**/**.{md,yml}": "tylermsft",
"parallel/**/**.{md,yml}": "tylermsft",
"porting/**/**.{md,yml}": "tylermsft",
"preprocessor/**/**.{md,yml}": "tylermsft",
"safeint/**/**.{md,yml}": "tylermsft",
"sanitizers/**/**.{md,yml}": "tylermsft",
"security/**/**.{md,yml}": "tylermsft",
"standard-library/**/**.{md,yml}": "tylermsft",
"text/**/**.{md,yml}": "tylermsft",
"windows/**/**.{md,yml}": "tylermsft"
},
"ms.author": {
"index.md": "twhitney",
"assembler/**.{md,yml}": "twhitney",
"atl/**.{md,yml}": "twhitney",
"atl-mfc-shared/**.{md,yml}": "twhitney",
"attributes/**.{md,yml}": "twhitney",
"build/**.{md,yml}": "twhitney",
"build-insights/**.{md,yml}": "twhitney",
"c-language/**.{md,yml}": "twhitney",
"c-runtime-library/**.{md,yml}": "twhitney",
"cloud/**.{md,yml}": "twhitney",
"code-quality/**.{md,yml}": "twhitney",
"cpp/**.{md,yml}": "twhitney",
"cppcx/**.{md,yml}": "twhitney",
"cross-platform/**.{md,yml}": "twhitney",
"data/**.{md,yml}": "twhitney",
"dotnet/**.{md,yml}": "twhitney",
"error-messages/**.{md,yml}": "twhitney",
"extensions/**.{md,yml}": "twhitney",
"get-started/**.{md,yml}": "twhitney",
"ide/**.{md,yml}": "twhitney",
"intrinsics/**.{md,yml}": "twhitney",
"linux/**.{md,yml}": "twhitney",
"mfc/**.{md,yml}": "twhitney",
"overview/**.{md,yml}": "twhitney",
"parallel/**.{md,yml}": "twhitney",
"porting/**.{md,yml}": "twhitney",
"preprocessor/**.{md,yml}": "twhitney",
"safeint/**.{md,yml}": "twhitney",
"sanitizers/**.{md,yml}": "twhitney",
"security/**.{md,yml}": "twhitney",
"standard-library/**.{md,yml}": "twhitney",
"text/**.{md,yml}": "twhitney",
"windows/**.{md,yml}": "twhitney"
"assembler/**/**.{md,yml}": "twhitney",
"atl/**/**.{md,yml}": "twhitney",
"atl-mfc-shared/**/**.{md,yml}": "twhitney",
"attributes/**/**.{md,yml}": "twhitney",
"build/**/**.{md,yml}": "twhitney",
"build-insights/**/**.{md,yml}": "twhitney",
"c-language/**/**.{md,yml}": "twhitney",
"c-runtime-library/**/**.{md,yml}": "twhitney",
"cloud/**/**.{md,yml}": "twhitney",
"code-quality/**/**.{md,yml}": "twhitney",
"cpp/**/**.{md,yml}": "twhitney",
"cppcx/**/**.{md,yml}": "twhitney",
"cross-platform/**/**.{md,yml}": "twhitney",
"data/**/**.{md,yml}": "twhitney",
"dotnet/**/**.{md,yml}": "twhitney",
"error-messages/**/**.{md,yml}": "twhitney",
"extensions/**/**.{md,yml}": "twhitney",
"get-started/**/**.{md,yml}": "twhitney",
"ide/**/**.{md,yml}": "twhitney",
"intrinsics/**/**.{md,yml}": "twhitney",
"linux/**/**.{md,yml}": "twhitney",
"mfc/**/**.{md,yml}": "twhitney",
"overview/**/**.{md,yml}": "twhitney",
"parallel/**/**.{md,yml}": "twhitney",
"porting/**/**.{md,yml}": "twhitney",
"preprocessor/**/**.{md,yml}": "twhitney",
"safeint/**/**.{md,yml}": "twhitney",
"sanitizers/**/**.{md,yml}": "twhitney",
"security/**/**.{md,yml}": "twhitney",
"standard-library/**/**.{md,yml}": "twhitney",
"text/**/**.{md,yml}": "twhitney",
"windows/**/**.{md,yml}": "twhitney"
}
},
"template": [],
Expand Down
11 changes: 6 additions & 5 deletions docs/error-messages/compiler-errors-1/compiler-error-c2261.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
description: "Learn more about: Compiler Error C2261"
title: "Compiler Error C2261"
ms.date: "11/04/2016"
description: "Learn more about: Compiler Error C2261"
ms.date: 11/04/2016
f1_keywords: ["C2261"]
helpviewer_keywords: ["C2261"]
ms.assetid: 60969482-9e83-49b5-9631-a04bc844da12
---
# Compiler Error C2261

'string' : assembly reference is invalid and cannot be resolved
> 'string' : assembly reference is invalid and cannot be resolved

## Remarks

A value was not valid.

Expand All @@ -18,7 +19,7 @@ For more on the correct syntax when specifying friend assemblies, see [Friend As

## Example

The following sample generates C2261.
The following example generates C2261.

```cpp
// C2261.cpp
Expand Down
11 changes: 6 additions & 5 deletions docs/error-messages/compiler-errors-1/compiler-error-c2262.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
---
description: "Learn more about: Compiler Error C2262"
title: "Compiler Error C2262"
ms.date: "11/04/2016"
description: "Learn more about: Compiler Error C2262"
ms.date: 11/04/2016
f1_keywords: ["C2262"]
helpviewer_keywords: ["C2262"]
ms.assetid: 727d1c6e-53e8-40e5-b7b8-6a7ac2011727
---
# Compiler Error C2262

'attribute_specifiers' : InternalsVisibleTo declarations cannot have a version, culture, or processor architecture specified
> 'attribute_specifiers' : InternalsVisibleTo declarations cannot have a version, culture, or processor architecture specified

## Remarks

The <xref:System.Runtime.CompilerServices.InternalsVisibleToAttribute> attribute was not specified correctly.

## Example

The following sample generates C2262.
The following example generates C2262.

```cpp
// C2262.cpp
Expand Down
13 changes: 8 additions & 5 deletions docs/error-messages/compiler-errors-1/compiler-error-c2264.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
---
description: "Learn more about: Compiler Error C2264"
title: "Compiler Error C2264"
ms.date: "11/04/2016"
description: "Learn more about: Compiler Error C2264"
ms.date: 11/04/2016
f1_keywords: ["C2264"]
helpviewer_keywords: ["C2264"]
ms.assetid: 158b72cc-cee9-4a08-bd79-b7a5955345a8
---
# Compiler Error C2264

'function' : error in function definition or declaration; function not called
> 'function' : error in function definition or declaration; function not called

## Remarks

The function cannot be called due to an incorrect definition or declaration.

The following sample generates C2264:
## Example

The following example generates C2264:

```cpp
// C2264.cpp
Expand Down
9 changes: 5 additions & 4 deletions docs/error-messages/compiler-errors-1/compiler-error-c2266.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
description: "Learn more about: Compiler Error C2266"
title: "Compiler Error C2266"
ms.date: "11/04/2016"
description: "Learn more about: Compiler Error C2266"
ms.date: 11/04/2016
f1_keywords: ["C2266"]
helpviewer_keywords: ["C2266"]
ms.assetid: 5c267a67-d5a1-4ad7-b6f7-a156510aee35
---
# Compiler Error C2266

'identifier' : reference to a non-constant bounded array is illegal
> 'identifier' : reference to a non-constant bounded array is illegal

## Remarks

A reference is declared for an array with a nonconstant bound. The array must have constant bounds.
13 changes: 8 additions & 5 deletions docs/error-messages/compiler-errors-1/compiler-error-c2267.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
---
description: "Learn more about: Compiler Error C2267"
title: "Compiler Error C2267"
ms.date: "11/04/2016"
description: "Learn more about: Compiler Error C2267"
ms.date: 11/04/2016
f1_keywords: ["C2267"]
helpviewer_keywords: ["C2267"]
ms.assetid: ea63bebb-6208-4367-8440-39be07f9c360
---
# Compiler Error C2267

'function' : static functions with block scope are illegal
> 'function' : static functions with block scope are illegal

## Remarks

A local function is declared **`static`**. Static functions must have global scope.

The following sample generates C2267:
## Example

The following example generates C2267:

```cpp
// C2267.cpp
Expand Down
13 changes: 8 additions & 5 deletions docs/error-messages/compiler-errors-1/compiler-error-c2268.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
---
description: "Learn more about: Compiler Error C2268"
title: "Compiler Error C2268"
ms.date: "11/04/2016"
description: "Learn more about: Compiler Error C2268"
ms.date: 11/04/2016
f1_keywords: ["C2268"]
helpviewer_keywords: ["C2268"]
ms.assetid: 0ed055c9-3c6f-4df2-a5b6-85cf0e01a249
---
# Compiler Error C2268

'function' is a compiler predefined library helper. Library helpers are not supported with /GL; compile object file 'file' without /GL.
> 'function' is a compiler predefined library helper. Library helpers are not supported with /GL; compile object file 'file' without /GL.

## Remarks

A function defined in your source code has the same name as an internal compiler function. Compile the module containing the function without [/GL](../../build/reference/gl-whole-program-optimization.md).

The following sample generates C2268:
## Example

The following example generates C2268:

```c
// C2268.c
Expand Down
13 changes: 8 additions & 5 deletions docs/error-messages/compiler-errors-1/compiler-error-c2270.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
---
description: "Learn more about: Compiler Error C2270"
title: "Compiler Error C2270"
ms.date: "11/04/2016"
description: "Learn more about: Compiler Error C2270"
ms.date: 11/04/2016
f1_keywords: ["C2270"]
helpviewer_keywords: ["C2270"]
ms.assetid: b52c068e-0b61-42e7-b775-4d57b3ddcba0
---
# Compiler Error C2270

'function' : modifiers not allowed on nonmember functions
> 'function' : modifiers not allowed on nonmember functions

## Remarks

A nonmember function is declared with [const](../../cpp/const-cpp.md), [volatile](../../cpp/volatile-cpp.md), or another memory-model modifier.

The following sample generates C2270:
## Example

The following example generates C2270:

```cpp
// C2270.cpp
Expand Down
13 changes: 8 additions & 5 deletions docs/error-messages/compiler-errors-1/compiler-error-c2271.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
---
description: "Learn more about: Compiler Error C2271"
title: "Compiler Error C2271"
ms.date: "11/04/2016"
description: "Learn more about: Compiler Error C2271"
ms.date: 11/04/2016
f1_keywords: ["C2271"]
helpviewer_keywords: ["C2271"]
ms.assetid: ea47bf57-f55d-4171-8e98-95a71d62820e
---
# Compiler Error C2271

'operator' : new/delete cannot have formal list modifiers
> 'operator' : new/delete cannot have formal list modifiers

## Remarks

The operator (**`new`** or **`delete`**) is declared with a memory-model specifier.

The following sample generates C2271:
## Example

The following example generates C2271:

```cpp
// C2271.cpp
Expand Down
Loading