Skip to content

Commit b515252

Browse files
authored
Merge pull request #1065 from msebolt/format-standard-pr7
format standard pr7
2 parents 2878d7f + 06b3b96 commit b515252

30 files changed

+67
-67
lines changed

docs/standard-library/is-abstract-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ struct is_abstract;
2525

2626
### Parameters
2727

28-
`Ty`
28+
*Ty*
2929
The type to query.
3030

3131
## Remarks
3232

33-
An instance of the type predicate holds true if the type `Ty` is a class that has at least one pure virtual function, otherwise it holds false.
33+
An instance of the type predicate holds true if the type *Ty* is a class that has at least one pure virtual function, otherwise it holds false.
3434

3535
## Example
3636

docs/standard-library/is-arithmetic-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ struct is_arithmetic;
2525

2626
### Parameters
2727

28-
`Ty`
28+
*Ty*
2929
The type to query.
3030

3131
## Remarks
3232

33-
An instance of the type predicate holds true if the type `Ty` is an arithmetic type, that is, an integral type or a floating point type, or a `cv-qualified` form of one of them, otherwise it holds false.
33+
An instance of the type predicate holds true if the type *Ty* is an arithmetic type, that is, an integral type or a floating point type, or a `cv-qualified` form of one of them, otherwise it holds false.
3434

3535
## Example
3636

docs/standard-library/is-array-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ struct is_array;
2525

2626
### Parameters
2727

28-
`Ty`
28+
*Ty*
2929
The type to query.
3030

3131
## Remarks
3232

33-
An instance of the type predicate holds true if the type `Ty` is an array type, otherwise it holds false.
33+
An instance of the type predicate holds true if the type *Ty* is an array type, otherwise it holds false.
3434

3535
## Example
3636

docs/standard-library/is-assignable-class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ From
3333
3434
## Remarks
3535
36-
The unevaluated expression `declval<To>() = declval<From>()` must be well-formed. Both `From` and `To` must be complete types, `void`, or arrays of unknown bound.
36+
The unevaluated expression `declval<To>() = declval<From>()` must be well-formed. Both `From` and `To` must be complete types, **void**, or arrays of unknown bound.
3737
3838
## Requirements
3939

docs/standard-library/is-base-of-class.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ struct is_base_of;
2525
2626
### Parameters
2727
28-
`Base`
28+
*Base*
2929
The base class to test for.
3030
31-
`Derived`
31+
*Derived*
3232
The derived type to test for.
3333
3434
## Remarks
3535
36-
An instance of the type predicate holds true if the type `Base` is a base class of the type `Derived`, otherwise it holds false.
36+
An instance of the type predicate holds true if the type *Base* is a base class of the type *Derived*, otherwise it holds false.
3737
3838
## Example
3939

docs/standard-library/is-class-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ struct is_class;
2525

2626
### Parameters
2727

28-
`Ty`
28+
*Ty*
2929
The type to query.
3030

3131
## Remarks
3232

33-
An instance of the type predicate holds true if the type `Ty` is a type defined as a `class` or a `struct`, or a `cv-qualified` form of one of them, otherwise it holds false.
33+
An instance of the type predicate holds true if the type *Ty* is a type defined as a **class** or a **struct**, or a `cv-qualified` form of one of them, otherwise it holds false.
3434

3535
## Example
3636

docs/standard-library/is-compound-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ struct is_compound;
2525

2626
### Parameters
2727

28-
`Ty`
28+
*Ty*
2929
The type to query.
3030

3131
## Remarks
3232

33-
An instance of the type predicate holds `false` if the type of `Ty` is a fundamental type (that is, if [is_fundamental](../standard-library/is-fundamental-class.md)\<Ty> holds `true`); otherwise, it holds `true`. Thus, the predicate holds `true` if `Ty` is an array type, a function type, a pointer to `void` or an object or a function, a reference, a class, a union, an enumeration, or a pointer to non-static class member, or a *cv-qualified* form of one of them.
33+
An instance of the type predicate holds **false** if the type of *Ty* is a fundamental type (that is, if [is_fundamental](../standard-library/is-fundamental-class.md)\<Ty> holds **true**); otherwise, it holds **true**. Thus, the predicate holds **true** if *Ty* is an array type, a function type, a pointer to **void** or an object or a function, a reference, a class, a union, an enumeration, or a pointer to non-static class member, or a *cv-qualified* form of one of them.
3434

3535
## Example
3636

docs/standard-library/is-const-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ struct is_const;
2525

2626
### Parameters
2727

28-
`Ty`
28+
*Ty*
2929
The type to query.
3030

3131
## Remarks
3232

33-
An instance of the type predicate holds true if `Ty` is `const-qualified`.
33+
An instance of the type predicate holds true if *Ty* is `const-qualified`.
3434

3535
## Example
3636

docs/standard-library/is-constructible-class.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ struct is_constructible;
2525
2626
### Parameters
2727
28-
`T`
28+
*T*
2929
The type to query.
3030
31-
`Args`
32-
The argument types to match in a constructor of `T`.
31+
*Args*
32+
The argument types to match in a constructor of *T*.
3333
3434
## Remarks
3535
36-
An instance of the type predicate holds true if the type `T` is constructible by using the argument types in `Args`, otherwise it holds false. Type `T` is constructible if the variable definition `T t(std::declval<Args>()...);` is well-formed. Both `T` and all the types in `Args` must be complete types, `void`, or arrays of unknown bound.
36+
An instance of the type predicate holds true if the type *T* is constructible by using the argument types in *Args*, otherwise it holds false. Type *T* is constructible if the variable definition `T t(std::declval<Args>()...);` is well-formed. Both *T* and all the types in *Args* must be complete types, **void**, or arrays of unknown bound.
3737
3838
## Requirements
3939

docs/standard-library/is-convertible-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ struct is_convertible;
2525
2626
### Parameters
2727
28-
`From`
28+
*From*
2929
The type to convert from.
3030
31-
`Ty`
31+
*Ty*
3232
The type to convert to.
3333
3434
## Remarks

docs/standard-library/is-copy-assignable-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ struct is_copy_assignable;
2525

2626
### Parameters
2727

28-
`Ty`
28+
*Ty*
2929
The type to query.
3030

3131
## Remarks
3232

33-
An instance of the type predicate holds true if the type `Ty` is a class that has a copy assignment operator, otherwise it holds false. Equivalent to is_assignable\<Ty&, const Ty&>.
33+
An instance of the type predicate holds true if the type *Ty* is a class that has a copy assignment operator, otherwise it holds false. Equivalent to is_assignable\<Ty&, const Ty&>.
3434

3535
## Requirements
3636

docs/standard-library/is-copy-constructible-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ struct is_copy_constructible;
2525

2626
### Parameters
2727

28-
`Ty`
28+
*Ty*
2929
The type to query.
3030

3131
## Remarks
3232

33-
An instance of the type predicate holds true if the type `Ty` is a class that has a copy constructor, otherwise it holds false.
33+
An instance of the type predicate holds true if the type *Ty* is a class that has a copy constructor, otherwise it holds false.
3434

3535
## Example
3636

docs/standard-library/is-default-constructible-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ struct is_default_constructible;
2525

2626
### Parameters
2727

28-
`T`
28+
*T*
2929
The type to query.
3030

3131
## Remarks
3232

33-
An instance of the type predicate holds true if the type `T` is a class type that has a default constructor, otherwise it holds false. This is equivalent to the predicate `is_constructible<T>`. Type `T` must be a complete type, `void`, or an array of unknown bound.
33+
An instance of the type predicate holds true if the type *T* is a class type that has a default constructor, otherwise it holds false. This is equivalent to the predicate `is_constructible<T>`. Type *T* must be a complete type, **void**, or an array of unknown bound.
3434

3535
## Example
3636

docs/standard-library/is-destructible-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ struct is_destructible;
2525

2626
### Parameters
2727

28-
`T`
28+
*T*
2929
The type to query.
3030

3131
## Remarks
3232

33-
An instance of the type predicate holds true if the type `T` is a destructible type, otherwise it holds false. Destructible types are reference types, object types, and types where for some type `U` equal to `remove_all_extents_t<T>` the unevaluated operand `std::declval<U&>.~U()` is well-formed. Other types, including incomplete types, `void`, and function types, are not destructible types.
33+
An instance of the type predicate holds true if the type *T* is a destructible type, otherwise it holds false. Destructible types are reference types, object types, and types where for some type `U` equal to `remove_all_extents_t<T>` the unevaluated operand `std::declval<U&>.~U()` is well-formed. Other types, including incomplete types, **void**, and function types, are not destructible types.
3434

3535
## Requirements
3636

docs/standard-library/is-empty-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ struct is_empty;
2525

2626
### Parameters
2727

28-
`Ty`
28+
*Ty*
2929
The type to query.
3030

3131
## Remarks
3232

33-
An instance of the type predicate holds true if the type `Ty` is an empty class, otherwise it holds false.
33+
An instance of the type predicate holds true if the type *Ty* is an empty class, otherwise it holds false.
3434

3535
## Example
3636

docs/standard-library/is-enum-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ struct is_enum;
2525

2626
### Parameters
2727

28-
`Ty`
28+
*Ty*
2929
The type to query.
3030

3131
## Remarks
3232

33-
An instance of the type predicate holds true if the type `Ty` is an enumeration type or a `cv-qualified` form of an enumeration type, otherwise it holds false.
33+
An instance of the type predicate holds true if the type *Ty* is an enumeration type or a `cv-qualified` form of an enumeration type, otherwise it holds false.
3434

3535
## Example
3636

docs/standard-library/is-final-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ struct is_final;
2525

2626
### Parameters
2727

28-
`T`
28+
*T*
2929
The type to query.
3030

3131
## Remarks
3232

33-
An instance of the type predicate holds true if the type `T` is a class type marked `final`, otherwise it holds false. If `T` is a class type, it must be a complete type.
33+
An instance of the type predicate holds true if the type *T* is a class type marked `final`, otherwise it holds false. If *T* is a class type, it must be a complete type.
3434

3535
## Requirements
3636

docs/standard-library/is-floating-point-class.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ struct is_floating_point;
2525

2626
### Parameters
2727

28-
`Ty`
28+
*Ty*
2929
The type to query.
3030

3131
## Remarks
3232

33-
An instance of the type predicate holds true if the type `Ty` is a floating point type or a `cv-qualified` form of a floating point type, otherwise it holds false.
33+
An instance of the type predicate holds true if the type *Ty* is a floating point type or a `cv-qualified` form of a floating point type, otherwise it holds false.
3434

35-
A floating point type is one of `float`, `double`, or `long double`.
35+
A floating point type is one of **float**, **double**, or **long double**.
3636

3737
## Example
3838

docs/standard-library/is-function-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ struct is_function;
2525

2626
### Parameters
2727

28-
`Ty`
28+
*Ty*
2929
The type to query.
3030

3131
## Remarks
3232

33-
An instance of the type predicate holds true if the type `Ty` is a function type, otherwise it holds false.
33+
An instance of the type predicate holds true if the type *Ty* is a function type, otherwise it holds false.
3434

3535
## Example
3636

docs/standard-library/is-fundamental-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ struct is_fundamental;
2525

2626
### Parameters
2727

28-
`Ty`
28+
*Ty*
2929
The type to query.
3030

3131
## Remarks
3232

33-
An instance of the type predicate holds true if the type `Ty` is a fundamental type, that is, `void`, an integral type, an floating point type, or a `cv-qualified` form of one of them, otherwise it holds false.
33+
An instance of the type predicate holds true if the type *Ty* is a fundamental type, that is, **void**, an integral type, an floating point type, or a `cv-qualified` form of one of them, otherwise it holds false.
3434

3535
## Example
3636

docs/standard-library/is-integral-class.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ struct is_integral;
2525

2626
### Parameters
2727

28-
`Ty`
28+
*Ty*
2929
The type to query.
3030

3131
## Remarks
3232

33-
An instance of the type predicate holds true if the type `Ty` is one of the integral types, or a `cv-qualified` form of one of the integral types, otherwise it holds false.
33+
An instance of the type predicate holds true if the type *Ty* is one of the integral types, or a `cv-qualified` form of one of the integral types, otherwise it holds false.
3434

35-
An integral type is one of `bool`, `char`, `unsigned char`, `signed char`, `wchar_t`, `short`, `unsigned short`, `int`, `unsigned int`, `long`, and `unsigned long`. In addition, with compilers that provide them, an integral type can be one of `long long`, `unsigned long long`, `__int64`, and `unsigned __int64`.
35+
An integral type is one of **bool**, **char**, **unsigned char**, **signed char**, **wchar_t**, **short**, **unsigned short**, **int**, **unsigned int**, **long**, and **unsigned long**. In addition, with compilers that provide them, an integral type can be one of **long long**, **unsigned long long**, **__int64**, and **unsigned __int64**.
3636

3737
## Example
3838

docs/standard-library/is-literal-type-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ struct is_literal_type;
2525

2626
### Parameters
2727

28-
`T`
28+
*T*
2929
The type to query.
3030

3131
## Remarks
3232

33-
An instance of the type predicate holds true if the type `T` is a *literal type*, otherwise it holds false. A literal type is either `void`, a scalar type, a reference type, an array of literal type, or a literal class type. A literal class type is a class type that has a trivial destructor, is either an aggregate type or has at least one non-move, non-copy `constexpr` constructor, and all of its base classes and non-static data members are non-volatile literal types. While the type of a literal is always a literal type, the concept of a literal type includes anything that the compiler can evaluate as a `constexpr` at compile time.
33+
An instance of the type predicate holds true if the type *T* is a *literal type*, otherwise it holds false. A literal type is either **void**, a scalar type, a reference type, an array of literal type, or a literal class type. A literal class type is a class type that has a trivial destructor, is either an aggregate type or has at least one non-move, non-copy `constexpr` constructor, and all of its base classes and non-static data members are non-volatile literal types. While the type of a literal is always a literal type, the concept of a literal type includes anything that the compiler can evaluate as a `constexpr` at compile time.
3434

3535
## Requirements
3636

docs/standard-library/is-lvalue-reference-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ struct is_lvalue_reference;
2525

2626
### Parameters
2727

28-
`Ty`
28+
*Ty*
2929
The type to query.
3030

3131
## Remarks
3232

33-
An instance of this type predicate holds true if the type `Ty` is a reference to an object or to a function, otherwise it holds false. Note that `Ty` may not be an rvalue reference. For more information about rvalues, see [Rvalue Reference Declarator: &&](../cpp/rvalue-reference-declarator-amp-amp.md).
33+
An instance of this type predicate holds true if the type *Ty* is a reference to an object or to a function, otherwise it holds false. Note that *Ty* may not be an rvalue reference. For more information about rvalues, see [Rvalue Reference Declarator: &&](../cpp/rvalue-reference-declarator-amp-amp.md).
3434

3535
## Requirements
3636

docs/standard-library/is-member-function-pointer-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ struct is_member_function_pointer;
2525

2626
### Parameters
2727

28-
`Ty`
28+
*Ty*
2929
The type to query.
3030

3131
## Remarks
3232

33-
An instance of the type predicate holds true if the type `Ty` is a pointer to member function or a `cv-qualified` pointer to member function, otherwise it holds false.
33+
An instance of the type predicate holds true if the type *Ty* is a pointer to member function or a `cv-qualified` pointer to member function, otherwise it holds false.
3434

3535
## Example
3636

docs/standard-library/is-member-object-pointer-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ struct is_member_object_pointer;
2525

2626
### Parameters
2727

28-
`Ty`
28+
*Ty*
2929
The type to query.
3030

3131
## Remarks
3232

33-
An instance of the type predicate holds true if the type `Ty` is a pointer to member object or a `cv-qualified` pointer to member object, otherwise it holds false. Note that `is_member_object_pointer` holds false if `Ty` is a pointer to member function.
33+
An instance of the type predicate holds true if the type *Ty* is a pointer to member object or a `cv-qualified` pointer to member object, otherwise it holds false. Note that `is_member_object_pointer` holds false if *Ty* is a pointer to member function.
3434

3535
## Example
3636

docs/standard-library/is-member-pointer-class.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ struct is_member_pointer;
2525

2626
### Parameters
2727

28-
`Ty`
28+
*Ty*
2929
The type to query.
3030

3131
## Remarks
3232

33-
An instance of the type predicate holds true if the type `Ty` is a pointer to member function or a pointer to member object, or a `cv-qualified` form of one of them, otherwise it holds false.
33+
An instance of the type predicate holds true if the type *Ty* is a pointer to member function or a pointer to member object, or a `cv-qualified` form of one of them, otherwise it holds false.
3434

3535
## Example
3636

0 commit comments

Comments
 (0)