Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions docs/data/odbc/recordset-fetching-records-in-bulk-odbc.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
description: "Learn more about: Recordset: Fetching Records in Bulk (ODBC)"
title: "Recordset: Fetching Records in Bulk (ODBC)"
ms.date: "11/04/2016"
description: "Learn more about: Recordset: Fetching Records in Bulk (ODBC)"
ms.date: 11/04/2016
helpviewer_keywords: ["bulk row fetching, implementing", "ODBC recordsets, bulk row fetching", "bulk record field exchange", "bulk row fetching", "bulk RFX functions", "recordsets, bulk row fetching", "DoBulkFieldExchange method", "fetching ODBC records in bulk", "RFX (ODBC), bulk", "rowsets, bulk row fetching", "RFX (ODBC), bulk row fetching"]
ms.assetid: 20d10fe9-c58a-414a-b675-cdf9aa283e4f
---
# Recordset: Fetching Records in Bulk (ODBC)

Expand Down Expand Up @@ -74,7 +73,7 @@ public:
.
.
.
}
};
```

You can either allocate these storage buffers manually or have the framework do the allocation. To allocate the buffers yourself, you must specify the `CRecordset::userAllocMultiRowBuffers` option of the *dwOptions* parameter in the `Open` member function. Be sure to set the sizes of the arrays at least equal to the rowset size. If you want to have the framework do the allocation, you should initialize your pointers to NULL. This is typically done in the recordset object's constructor:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ struct B {
struct C : A, B {
using A::x;
using B::x; // C2698
}
};
```
2 changes: 1 addition & 1 deletion docs/sanitizers/error-new-delete-type-mismatch.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ To fix the example, add:
```cpp
struct Base {
virtual ~Base() = default;
}
};
```

To build and test this example, run these commands in a Visual Studio 2019 version 16.9 or later [developer command prompt](../build/building-on-the-command-line.md#developer_command_prompt_shortcuts):
Expand Down
5 changes: 2 additions & 3 deletions docs/standard-library/gslice-array-class.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
description: "Learn more about: gslice_array class"
title: "gslice_array class"
description: "Learn more about: gslice_array class"
ms.date: 01/12/2022
f1_keywords: ["valarray/std::gslice_array"]
helpviewer_keywords: ["gslice_array class"]
ms.assetid: ad1b4514-b14a-4baf-a293-d5a8e8674c75
---
# `gslice_array` class

Expand Down Expand Up @@ -42,7 +41,7 @@ public:
void operator>>=(const valarray<Type>& x) const;

// The rest is private or implementation defined
}
};
```

## Remarks
Expand Down
7 changes: 3 additions & 4 deletions docs/standard-library/ratio.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
description: "Learn more about: <ratio>"
title: "<ratio>"
ms.date: "11/04/2016"
description: "Learn more about: <ratio>"
ms.date: 11/04/2016
f1_keywords: ["<ratio>", "ratio/std::mega", "ratio/std::peta", "ratio/std::ratio_greater", "ratio/std::micro", "ratio/std::ratio_add", "ratio/std::ratio_not_equal", "ratio/std::hecto", "ratio/std::nano", "ratio/std::ratio_less_equal", "ratio/std::ratio_less", "ratio/std::centi", "ratio/std::ratio_greater_equal", "ratio/std::ratio_subtract", "ratio/std::atto", "ratio/std::tera", "ratio/std::milli", "ratio/std::ratio_multiply", "ratio/std::kilo", "ratio/std::ratio_divide", "ratio/std::giga", "ratio/std::pico", "ratio/std::femto", "ratio/std::ratio_equal", "ratio/std::ratio", "ratio/std::exa", "ratio/std::deci", "ratio/std::deca"]
ms.assetid: 8543e912-2d84-45ea-b3c0-bd7bfacee405
---
# `<ratio>`

Expand All @@ -24,7 +23,7 @@ struct ratio // holds the ratio of Numerator to Denominator
static constexpr std::intmax_t num;
static constexpr std::intmax_t den;
typedef ratio<num, den> type;
}
};
```

The template `ratio` defines the static constants `num` and `den` such that `num` / `den` == Numerator / Denominator and `num` and `den` have no common factors. `num` / `den` is the value that is represented by the class template. Therefore, `type` designates the instantiation `ratio<num, den>`.
Expand Down
6 changes: 3 additions & 3 deletions docs/standard-library/scoped-lock-class.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
description: "Learn more about: scoped_lock Class"
title: "scoped_lock Class"
ms.date: "11/04/2016"
description: "Learn more about: scoped_lock Class"
ms.date: 11/04/2016
f1_keywords: ["mutex/std::scoped_lock"]
---
# scoped_lock Class
Expand All @@ -17,5 +17,5 @@ class scoped_lock {
~scoped_lock();
scoped_lock(const scoped_lock&) = delete;
scoped_lock& operator=(const scoped_lock&) = delete;
}
};
```
5 changes: 2 additions & 3 deletions docs/standard-library/slice-array-class.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
description: "Learn more about: slice_array class"
title: "slice_array class"
description: "Learn more about: slice_array class"
ms.date: 01/12/2022
f1_keywords: ["valarray/std::slice_array"]
helpviewer_keywords: ["slice_array class"]
ms.assetid: a182d5f7-f35c-4e76-86f2-b5ac64ddc846
---
# `slice_array` class

Expand All @@ -30,7 +29,7 @@ public:
void operator<<=(const valarray<Type>& x) const;
void operator>>=(const valarray<Type>& x) const;
// The rest is private or implementation defined
}
};
```

## Remarks
Expand Down