Skip to content

Fix git push error for protected CLA branch #825

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Feb 28, 2019
254 changes: 86 additions & 168 deletions docs/ide/hint-files.md

Large diffs are not rendered by default.

Binary file added docs/ide/media/hint-squiggle-and-actions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions docs/standard-library/TOC.md
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@
#### [extent Class](extent-class.md)
#### [integer_sequence Class](integer-sequence-class.md)
#### [integral_constant Class, bool_constant Class](integral-constant-class-bool-constant-class.md)
#### [invoke_result Class](invoke-result-class.md)
#### [is_abstract Class](is-abstract-class.md)
#### [is_arithmetic Class](is-arithmetic-class.md)
#### [is_array Class](is-array-class.md)
Expand All @@ -461,6 +462,7 @@
#### [is_function Class](is-function-class.md)
#### [is_fundamental Class](is-fundamental-class.md)
#### [is_integral Class](is-integral-class.md)
#### [is_invocable classes](is-invocable-classes.md)
#### [is_literal_type Class](is-literal-type-class.md)
#### [is_lvalue_reference Class](is-lvalue-reference-class.md)
#### [is_member_function_pointer Class](is-member-function-pointer-class.md)
Expand Down
6 changes: 3 additions & 3 deletions docs/standard-library/binary-function-struct.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: "binary_function Struct"
ms.date: "11/04/2016"
f1_keywords: ["functional/std::binary"]
ms.date: "02/21/2019"
f1_keywords: ["functional/std::binary_function"]
helpviewer_keywords: ["binary_function class"]
ms.assetid: 79b6d53d-644c-4add-b0ba-3a5f40f69c60
---
# binary_function Struct

An empty base struct that defines types that may be inherited by derived classes that provides a binary function object.
An empty base struct that defines types that may be inherited by derived classes that provides a binary function object. Deprecated in C++11, removed in C++17.

## Syntax

Expand Down
6 changes: 3 additions & 3 deletions docs/standard-library/binary-negate-class.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: "binary_negate Class"
ms.date: "11/04/2016"
f1_keywords: ["xfunctional/std::binary_negate"]
ms.date: "02/21/2019"
f1_keywords: ["functional/std::binary_negate"]
helpviewer_keywords: ["binary_negate class"]
ms.assetid: 7b86f02c-af7e-4c7f-9df1-08addae4dd65
---
# binary_negate Class

A template class providing a member function that negates the return value of a specified binary function.
A template class providing a member function that negates the return value of a specified binary function. Deprecated in C++17 in favor of [not_fn](functional-functions.md#not_fn).

## Syntax

Expand Down
14 changes: 7 additions & 7 deletions docs/standard-library/binder1st-class.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: "binder1st Class"
ms.date: "11/04/2016"
f1_keywords: ["xfunctional/std::binder1st"]
ms.date: "02/21/2019"
f1_keywords: ["functional/std::binder1st"]
helpviewer_keywords: ["binder1st class"]
ms.assetid: 6b8ee343-c82f-48f8-867d-06f9d1d324c0
---
# binder1st Class

A template class providing a constructor that converts a binary function object into a unary function object by binding the first argument of the binary function to a specified value.
A template class providing a constructor that converts a binary function object into a unary function object by binding the first argument of the binary function to a specified value. Deprecated in C++11 in favor of [bind](functional-functions.md#bind), and removed in C++17.

## Syntax

Expand All @@ -21,7 +21,7 @@ public:
typedef typename Operation::argument_type argument_type;
typedef typename Operation::result_type result_type;
binder1st(
const Operation& Func,
const Operation& binary_fn,
const typename Operation::first_argument_type& left);

result_type operator()(const argument_type& right) const;
Expand All @@ -35,7 +35,7 @@ protected:

### Parameters

*Func*<br/>
*binary_fn*<br/>
The binary function object to be converted to a unary function object.

*left*<br/>
Expand All @@ -50,9 +50,9 @@ The unary function object that results from binding the first argument of the bi

## Remarks

The template class stores a copy of a binary function object *Func* in `op`, and a copy of *left* in `value`. It defines its member function `operator()` as returning **op**( **value**, `right`).
The template class stores a copy of a binary function object *binary_fn* in `op`, and a copy of *left* in `value`. It defines its member function `operator()` as returning `op( value, right )`.

If *Func* is an object of type `Operation` and `c` is a constant , then [bind1st](../standard-library/functional-functions.md#bind1st) ( `Func`, `c` ) is equivalent to the `binder1st` class constructor `binder1st`\< **Operation**> ( `Func`, `c` ) and more convenient.
If *binary_fn* is an object of type `Operation` and `c` is a constant, then `bind1st( binary_fn, c )` is a more convenient equivalent to `binder1st<Operation>( binary_fn, c )`. For more information, see [bind1st](../standard-library/functional-functions.md#bind1st).

## Example

Expand Down
6 changes: 3 additions & 3 deletions docs/standard-library/binder2nd-class.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: "binder2nd Class"
ms.date: "11/04/2016"
f1_keywords: ["xfunctional/std::binder2nd"]
ms.date: "02/21/2019"
f1_keywords: ["functional/std::binder2nd"]
helpviewer_keywords: ["binder2nd class"]
ms.assetid: b2a9c1d1-dfc4-4ca9-a10e-ae84e195a62d
---
# binder2nd Class

A template class providing a constructor that converts a binary function object into a unary function object by binding the second argument of the binary function to a specified value.
A template class providing a constructor that converts a binary function object into a unary function object by binding the second argument of the binary function to a specified value. Deprecated in C++11, removed in C++17.

## Syntax

Expand Down
6 changes: 3 additions & 3 deletions docs/standard-library/const-mem-fun-ref-t-class.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: "const_mem_fun_ref_t Class"
ms.date: "11/04/2016"
f1_keywords: ["xfunctional/std::const_mem_fun_ref_t"]
ms.date: "02/21/2019"
f1_keywords: ["functional/std::const_mem_fun_ref_t"]
helpviewer_keywords: ["const_mem_fun_ref_t class"]
ms.assetid: 316ddbaa-9f46-4931-8eba-ea4ca66360ef
---
# const_mem_fun_ref_t Class

An adapter class that allows a **const** member function that takes no arguments to be called as a unary function object when initialized with a reference argument.
An adapter class that allows a **const** member function that takes no arguments to be called as a unary function object when initialized with a reference argument. Deprecated in C++11, removed in C++17.

## Syntax

Expand Down
6 changes: 3 additions & 3 deletions docs/standard-library/const-mem-fun-t-class.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: "const_mem_fun_t Class"
ms.date: "11/04/2016"
f1_keywords: ["xfunctional/std::const_mem_fun_t"]
ms.date: "02/21/2019"
f1_keywords: ["functional/std::const_mem_fun_t"]
helpviewer_keywords: ["const_mem_fun_t class"]
ms.assetid: f169d381-019b-4a0e-a9a3-54da6d948270
---
# const_mem_fun_t Class

An adapter class that allows a const member function that takes no arguments to be called as a unary function object when initialized with a reference argument.
An adapter class that allows a const member function that takes no arguments to be called as a unary function object when initialized with a reference argument. Deprecated in C++11, removed in C++17.

## Syntax

Expand Down
6 changes: 3 additions & 3 deletions docs/standard-library/const-mem-fun1-ref-t-class.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: "const_mem_fun1_ref_t Class"
ms.date: "11/04/2016"
f1_keywords: ["xfunctional/std::const_mem_fun1_ref_t"]
ms.date: "02/21/2019"
f1_keywords: ["functional/std::const_mem_fun1_ref_t"]
helpviewer_keywords: ["const_mem_fun1_ref_t class"]
ms.assetid: 8220d373-fa1c-44be-a21d-96d49b3ea6bb
---
# const_mem_fun1_ref_t Class

An adapter class that allows a **const** member function that takes a single argument to be called as a binary function object when initialized with a reference argument.
An adapter class that allows a **const** member function that takes a single argument to be called as a binary function object when initialized with a reference argument. Deprecated in C++11, removed in C++17.

## Syntax

Expand Down
22 changes: 11 additions & 11 deletions docs/standard-library/const-mem-fun1-t-class.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
---
title: "const_mem_fun1_t Class"
ms.date: "11/04/2016"
f1_keywords: ["xfunctional/std::const_mem_fun1_t"]
ms.date: "02/21/2019"
f1_keywords: ["functional/std::const_mem_fun1_t"]
helpviewer_keywords: ["const_mem_fun1_t class"]
ms.assetid: 250fac30-9663-4133-9051-6303f76ea259
---
# const_mem_fun1_t Class

An adapter class that allows a **const** member function that takes a single argument to be called as a binary function object when initialized with a pointer argument.
An adapter class that allows a **const** member function that takes a single argument to be called as a binary function object when initialized with a pointer argument. Deprecated in C++11, removed in C++17.

## Syntax

```cpp
template <class Result, class Type, class Arg>
class const_mem_fun1_t : public binary_function<const Type *, Arg, Result>
{
explicit const_mem_fun1_t(Result (Type::* _Pm)(Arg) const);
Result operator()(const Type* _Pleft, Arg right) const;
explicit const_mem_fun1_t(Result (Type::* member_ptr)(Arg) const);
Result operator()(const Type* left, Arg right) const;
};
```

### Parameters

*_Pm*<br/>
*member_ptr*<br/>
A pointer to the member function of class `Type` to be converted to a function object.

*_Pleft*<br/>
The **const** object that the *_Pm* member function is called on.
*left*<br/>
The **const** object that the *member_ptr* member function is called on.

*right*<br/>
The argument that is being given to *_Pm*.
The argument that is being given to *member_ptr*.

## Return Value

An adaptable binary function.

## Remarks

The template class stores a copy of *_Pm*, which must be a pointer to a member function of class `Type`, in a private member object. It defines its member function `operator()` as returning ( *_Pleft*->\*<em>Pm</em>)( *right* ) **const**.
The template class stores a copy of *member_ptr*, which must be a pointer to a member function of class `Type`, in a private member object. It defines its member function `operator()` as returning `(left->member_ptr)(right) const`.

## Example

The constructor of `const_mem_fun1_t` is not usually used directly; the helper function `mem_fun` is used to adapt member functions. See [mem_fun](../standard-library/functional-functions.md#mem_fun) for an example of how to use member function adaptors.
The constructor of `const_mem_fun1_t` is rarely used directly. `mem_fn` is used to adapt member functions. See [mem_fn](../standard-library/functional-functions.md#mem_fn) for an example of how to use member function adaptors.

## Requirements

Expand Down
2 changes: 1 addition & 1 deletion docs/standard-library/divides-struct.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "divides Struct"
ms.date: "11/04/2016"
f1_keywords: ["xfunctional/std::divides"]
f1_keywords: ["functional/std::divides"]
helpviewer_keywords: ["divides struct", "divides class"]
ms.assetid: b9cf8e9c-6981-43a6-a6a3-8f761987dd7a
---
Expand Down
2 changes: 1 addition & 1 deletion docs/standard-library/equal-to-struct.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "equal_to Struct"
ms.date: "11/04/2016"
f1_keywords: ["xfunctional/std::equal_to"]
f1_keywords: ["functional/std::equal_to"]
helpviewer_keywords: ["equal_to function", "equal_to struct"]
ms.assetid: 8e4f2b50-b2db-48e3-b4cc-6cc03362c2a6
---
Expand Down
Loading