Skip to content

Commit b35bca1

Browse files
committed
Migration: migration from Caps to OP
1 parent 9d289b2 commit b35bca1

File tree

454 files changed

+25711
-26
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

454 files changed

+25711
-26
lines changed

docs/TOC.md

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1 @@
1-
# [Visual C++ in Visual Studio 2017 RC](visual-cpp-in-visual-studio.md)
2-
# [What's New for Visual C++ in Visual Studio 2017 RC](what-s-new-for-visual-cpp-in-visual-studio.md)
3-
# [C++ conformance improvements in Visual Studio 2017](cpp-conformance-improvements-2017.md)
4-
# [Supported Platforms (Visual C++)](supported-platforms-visual-cpp.md)
5-
# [C Language](c-language/c-language-reference.md)
6-
# [C++ Language](cpp/cpp-language-reference.md)
7-
# [C/C++ Preprocessor](preprocessor/c-cpp-preprocessor-reference.md)
8-
# [C Runtime Library](c-runtime-library/c-run-time-library-reference.md)
9-
# [C++ Standard Library](standard-library/cpp-standard-library-reference.md)
10-
# [Windows Development](windows/overview-of-windows-programming-in-cpp.md)
11-
# [Linux Development](linux/download-install-and-setup-the-linux-development-workload.md)
12-
# [.NET Development with C++/CLI](dotnet/dotnet-programming-with-cpp-cli-visual-cpp.md)
13-
# [Cloud and Web Programming in Visual C++](cloud/cloud-and-web-programming-in-visual-cpp.md)
14-
## [C++ REST SDK (Codename "Casablanca")](cloud/cpp-rest-sdk-codename-casablanca.md)
15-
# [Parallel Programming](parallel/parallel-programming-in-visual-cpp.md)
16-
# [Data Access](data/data-access-programming-mfc-atl.md)
17-
# [Text and Strings](text/text-and-strings-in-visual-cpp.md)
18-
# [Using the Visual Studio IDE for C++](ide/ide-and-tools-for-visual-cpp-development.md)
19-
# [Compilers and Build Tools](build/building-c-cpp-programs.md)
20-
# [Porting and Upgrading Visual C++ Code](porting/visual-cpp-porting-and-upgrading-guide.md)
21-
# [Security Best Practices for C++](security/security-best-practices-for-cpp.md)
22-
## [Running as a Member of the Users Group](security/running-as-a-member-of-the-users-group.md)
23-
## [How User Account Control (UAC) Affects Your Application](security/how-user-account-control-uac-affects-your-application.md)
24-
# [Visual C++ Samples](visual-cpp-samples.md)
25-
# [Visual C++ Help and Community](visual-cpp-help-and-community.md)
26-
# [How to Report a Problem with the Visual C++ Toolset](how-to-report-a-problem-with-the-visual-cpp-toolset.md)
1+
# [cppcx](cppcx\TOC.md)

docs/cppcx/TOC.md

Lines changed: 302 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
title: "Agile::Agile Constructor | Microsoft Docs"
3+
ms.custom: ""
4+
ms.date: "12/30/2016"
5+
ms.prod: "windows-client-threshold"
6+
ms.reviewer: ""
7+
ms.suite: ""
8+
ms.tgt_pltfrm: ""
9+
ms.topic: "language-reference"
10+
f1_keywords:
11+
- "agile/Platform::Agile::Agile"
12+
dev_langs:
13+
- "C++"
14+
helpviewer_keywords:
15+
- "Platform::Agile::Agile"
16+
ms.assetid: 33c1df82-f5db-4750-98cc-0daa03be4e59
17+
caps.latest.revision: 3
18+
author: "ghogen"
19+
ms.author: "ghogen"
20+
manager: "ghogen"
21+
---
22+
# Agile::Agile Constructor
23+
Initializes a new instance of the Agile class.
24+
25+
## Syntax
26+
27+
```cpp
28+
29+
Agile();
30+
31+
Agile(T^ object);
32+
33+
Agile(const Agile<T>& object);
34+
35+
Agile(Agile<T>&& object);
36+
37+
```
38+
39+
#### Parameters
40+
`T`
41+
A type specified by the template typename parameter.
42+
43+
`object`
44+
In the second version of this constructor, an object used to initialize a new Agile instance. In the third version, the object that is copied to the new Agile instance. In the fourth version, the object that is moved to the new Agile instance.
45+
46+
## Remarks
47+
The first version of this constructor is the default constructor. The second version initializes new Agile instance class from the object specified by the `object` parameter. The third version is the copy constructor. The fourth version is the move constructor. This constructor cannot throw exceptions.
48+
49+
## Requirements
50+
**Minimum supported client:** [!INCLUDE[win8](../cppcx/includes/win8-md.md)]
51+
52+
**Minimum supported server:** [!INCLUDE[winserver8](../cppcx/includes/winserver8-md.md)]
53+
54+
**Namespace:** Platform
55+
56+
**Header:** vccorlib.h
57+
58+
## See Also
59+
[Platform::Agile Class](../cppcx/platform-agile-class.md)

docs/cppcx/agile-get-method.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
title: "Agile::Get Method | Microsoft Docs"
3+
ms.custom: ""
4+
ms.date: "12/30/2016"
5+
ms.prod: "windows-client-threshold"
6+
ms.reviewer: ""
7+
ms.suite: ""
8+
ms.tgt_pltfrm: ""
9+
ms.topic: "language-reference"
10+
f1_keywords:
11+
- "agile/Platform::Agile::Get"
12+
dev_langs:
13+
- "C++"
14+
helpviewer_keywords:
15+
- "Platform::Agile::Get"
16+
ms.assetid: d6295e21-ddbe-4302-9158-3498da4d9669
17+
caps.latest.revision: 2
18+
author: "ghogen"
19+
ms.author: "ghogen"
20+
manager: "ghogen"
21+
---
22+
# Agile::Get Method
23+
Returns a handle to the object that is represented by the current Agile object.
24+
25+
## Syntax
26+
27+
```cpp
28+
29+
T^ Get() const
30+
;
31+
```
32+
33+
## Return Value
34+
A handle to the object that is represented by the current Agile object.
35+
36+
The type of the return value is actually an undisclosed internal type. A convenient way to hold the return value is to assign it to a variable that is declared with the [auto](../Topic/auto%20\(C++\).md) type deduction keyword. For example, `auto x = myAgileTvariable->Get();`.
37+
38+
## Requirements
39+
**Minimum supported client:** [!INCLUDE[win8](../cppcx/includes/win8-md.md)]
40+
41+
**Minimum supported server:** [!INCLUDE[winserver8](../cppcx/includes/winserver8-md.md)]
42+
43+
**Namespace:** Platform
44+
45+
**Header:** vccorlib.h
46+
47+
## See Also
48+
[Platform::Agile Class](../cppcx/platform-agile-class.md)
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
title: "Agile::GetAddressOf Method | Microsoft Docs"
3+
ms.custom: ""
4+
ms.date: "12/30/2016"
5+
ms.prod: "windows-client-threshold"
6+
ms.reviewer: ""
7+
ms.suite: ""
8+
ms.tgt_pltfrm: ""
9+
ms.topic: "language-reference"
10+
f1_keywords:
11+
- "agile/Platform::Agile::GetAddressOf"
12+
dev_langs:
13+
- "C++"
14+
helpviewer_keywords:
15+
- "Platform::Agile::GetAddressOf"
16+
ms.assetid: f015edf9-4155-4992-a6fc-7ff1edcc5d1e
17+
caps.latest.revision: 2
18+
author: "ghogen"
19+
ms.author: "ghogen"
20+
manager: "ghogen"
21+
---
22+
# Agile::GetAddressOf Method
23+
Reinitializes the current Agile object, and then returns the address of a handle to an object of type `T`.
24+
25+
## Syntax
26+
27+
```cpp
28+
29+
T^* GetAddressOf()
30+
throw();
31+
```
32+
33+
#### Parameters
34+
`T`
35+
A type specified by the template typename parameter.
36+
37+
## Return Value
38+
The address of a handle to an object of type `T`.
39+
40+
## Remarks
41+
This operation releases the current representation of a object of type `T`, if any; reinitializes the Agile object's data members; acquires the current threading context; and then returns the address of a handle-to-object variable that can represent a non-agile object. To cause an Agile class instance to represent an object, use the assignment operator ([Agile::operator=](../cppcx/agile-operator-assign-operator.md)) to assign the object to the Agile class instance.
42+
43+
## Requirements
44+
**Minimum supported client:** [!INCLUDE[win8](../cppcx/includes/win8-md.md)]
45+
46+
**Minimum supported server:** [!INCLUDE[winserver8](../cppcx/includes/winserver8-md.md)]
47+
48+
**Namespace:** Platform
49+
50+
**Header:** vccorlib.h
51+
52+
## See Also
53+
[Platform::Agile Class](../cppcx/platform-agile-class.md)
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
title: "Agile::GetAddressOfForInOut Method | Microsoft Docs"
3+
ms.custom: ""
4+
ms.date: "12/30/2016"
5+
ms.prod: "windows-client-threshold"
6+
ms.reviewer: ""
7+
ms.suite: ""
8+
ms.tgt_pltfrm: ""
9+
ms.topic: "language-reference"
10+
f1_keywords:
11+
- "agile/Platform::Agile::GetAddressOfForInOut"
12+
dev_langs:
13+
- "C++"
14+
helpviewer_keywords:
15+
- "Platform::Agile::GetAddressOfForInOut"
16+
ms.assetid: 8bb27b4c-c325-49ee-91db-9adf87c530c4
17+
caps.latest.revision: 2
18+
author: "ghogen"
19+
ms.author: "ghogen"
20+
manager: "ghogen"
21+
---
22+
# Agile::GetAddressOfForInOut Method
23+
Returns the address of a handle to the object represented by the current Agile object.
24+
25+
## Syntax
26+
27+
```cpp
28+
29+
T^* GetAddressOfForInOut()
30+
throw();
31+
32+
```
33+
34+
#### Parameters
35+
`T`
36+
A type specified by the template typename parameter.
37+
38+
## Return Value
39+
The address of a handle to the object represented by the current Agile object.
40+
41+
## Remarks
42+
This operation acquires the current threading context and then returns the address of a handle to the underlying the object.
43+
44+
## Requirements
45+
**Minimum supported client:** [!INCLUDE[win8](../cppcx/includes/win8-md.md)]
46+
47+
**Minimum supported server:** [!INCLUDE[winserver8](../cppcx/includes/winserver8-md.md)]
48+
49+
**Namespace:** Platform
50+
51+
**Header:** vccorlib.h
52+
53+
## See Also
54+
[Platform::Agile Class](../cppcx/platform-agile-class.md)
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
title: "Agile::operator-&gt; Operator | Microsoft Docs"
3+
ms.custom: ""
4+
ms.date: "12/30/2016"
5+
ms.prod: "windows-client-threshold"
6+
ms.reviewer: ""
7+
ms.suite: ""
8+
ms.tgt_pltfrm: ""
9+
ms.topic: "language-reference"
10+
f1_keywords:
11+
- "agile/Platform::Agile::operator->"
12+
dev_langs:
13+
- "C++"
14+
helpviewer_keywords:
15+
- "Platform::Agile::operator->"
16+
ms.assetid: 570f4b0b-1735-49b3-8a30-4a302ac57074
17+
caps.latest.revision: 2
18+
author: "ghogen"
19+
ms.author: "ghogen"
20+
manager: "ghogen"
21+
---
22+
# Agile::operator-&gt; Operator
23+
Retrieves a handle to the object represented by the current Agile object.
24+
25+
## Syntax
26+
27+
```cpp
28+
29+
T^ operator->()
30+
const throw();
31+
```
32+
33+
## Return Value
34+
A handle to the object represented by the current Agile object.
35+
36+
This operator actually returns an undisclosed internal type. A convenient way to hold the return value is to assign it to a variable that is declared with the [auto](../Topic/auto%20\(C++\).md) type deduction keyword.
37+
38+
## Requirements
39+
**Minimum supported client:** [!INCLUDE[win8](../cppcx/includes/win8-md.md)]
40+
41+
**Minimum supported server:** [!INCLUDE[winserver8](../cppcx/includes/winserver8-md.md)]
42+
43+
**Namespace:** Platform
44+
45+
**Header:** vccorlib.h
46+
47+
## See Also
48+
[Platform::Agile Class](../cppcx/platform-agile-class.md)
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
---
2+
title: "Agile::operator= Operator | Microsoft Docs"
3+
ms.custom: ""
4+
ms.date: "12/30/2016"
5+
ms.prod: "windows-client-threshold"
6+
ms.reviewer: ""
7+
ms.suite: ""
8+
ms.tgt_pltfrm: ""
9+
ms.topic: "language-reference"
10+
f1_keywords:
11+
- "agile/Platform::Agile::operator="
12+
dev_langs:
13+
- "C++"
14+
helpviewer_keywords:
15+
- "Platform::Agile::operator="
16+
ms.assetid: 2c413bef-f103-4911-afb3-0dac5f6a760e
17+
caps.latest.revision: 2
18+
author: "ghogen"
19+
ms.author: "ghogen"
20+
manager: "ghogen"
21+
---
22+
# Agile::operator= Operator
23+
Assigns the specified object to the current Agile object.
24+
25+
## Syntax
26+
27+
```cpp
28+
29+
Agile<T> operator=(
30+
T^ object
31+
) throw();
32+
33+
Agile<T> operator=(
34+
const Agile<T>& object
35+
) throw();
36+
37+
Agile<T> operator=(
38+
Agile<T>&& object
39+
) throw();
40+
41+
T^ operator=(
42+
IUnknown* lp
43+
) throw();
44+
45+
```
46+
47+
#### Parameters
48+
`T`
49+
The type specified by the template typename.
50+
51+
`object`
52+
The object or handle to an object that is copied or moved to the current Agile object.
53+
54+
`lp`
55+
The IUnknown interface pointer of a object.
56+
57+
## Return Value
58+
A handle to an object of type `T`
59+
60+
## Remarks
61+
The first version of the assignment operator copies a handle to a reference type to the current Agile object. The second version copies a reference to an Agile type to the current Agile object. The third version moves an Agile type to the current Agile object. The fourth version moves a pointer to a COM object to the current Agile object.
62+
63+
The assignment operation automatically persists the context of the current Agile object.
64+
65+
## Requirements
66+
**Minimum supported client:** [!INCLUDE[win8](../cppcx/includes/win8-md.md)]
67+
68+
**Minimum supported server:** [!INCLUDE[winserver8](../cppcx/includes/winserver8-md.md)]
69+
70+
**Namespace:** Platform
71+
72+
**Header:** vccorlib.h
73+
74+
## See Also
75+
[Platform::Agile Class](../cppcx/platform-agile-class.md)

0 commit comments

Comments
 (0)