Skip to content

Add missing code blocks #4752

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
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
6 changes: 4 additions & 2 deletions docs/standard-library/hash-compare-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ The class template describes an object that can be used by any of the hash assoc

## Syntax

```cpp
class hash_compare
{
{
Traits comp;
public:
const size_t bucket_size = 4;
Expand All @@ -24,7 +25,8 @@ class hash_compare
bool operator()(
const Key& key1,
const Key& key2) const;
};
};
```

## Remarks

Expand Down
2 changes: 2 additions & 0 deletions docs/standard-library/input-iterator-tag-struct.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ A class that provides a return type for `iterator_category` function that repres

## Syntax

```cpp
struct input_iterator_tag {};
```

## Remarks

Expand Down
2 changes: 2 additions & 0 deletions docs/standard-library/is-placeholder-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ Tests if type is a placeholder.

## Syntax

```cpp
struct is_placeholder {
static const int value;
};
```

## Remarks

Expand Down
6 changes: 4 additions & 2 deletions docs/standard-library/once-flag-structure.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ Represents a **`struct`** that is used with the template function [call_once](..

## Syntax

```cpp
struct once_flag
{
{
constexpr once_flag() noexcept;
};
};
```

## Remarks

Expand Down
2 changes: 2 additions & 0 deletions docs/standard-library/output-iterator-tag-struct.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ A class that provides a return type for `iterator_category` function that repres

## Syntax

```cpp
struct output_iterator_tag {};
```

## Remarks

Expand Down