Skip to content

Commit dca94e6

Browse files
Protocol Buffer TeamLogofile
Protocol Buffer Team
authored andcommitted
This documentation change includes the following:
* Updates the Enumerations section of the C++ Generated Code topic * Updates the description in the metadata for the topic about StringView PiperOrigin-RevId: 726138626 Change-Id: I50fe8be41adf12b756faf01bd0d3aa719efe8fe7
1 parent afec088 commit dca94e6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

content/reference/cpp/cpp-generated.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,9 +1084,10 @@ In addition, it will generate these methods:
10841084

10851085
## Enumerations {#enum}
10861086

1087-
**Note:** As of edition 2024
1088-
[string_view](/reference/cpp/string-view#enum-name) APIs
1089-
may be generated instead
1087+
**Note:** As of edition 2024, `string_view` APIs may be generated with certain
1088+
feature settings. See
1089+
[Enumeration Name Helper](/reference/cpp/string-view#enum-name)
1090+
for more on this topic.
10901091

10911092
Given an enum definition like:
10921093

content/reference/cpp/string-view.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
+++
22
title = "String View APIs"
33
weight = 510
4-
linkTitle = "Generated Code Guide"
5-
description = "Describes exactly what C++ code the protocol buffer compiler generates for any given protocol definition. "
4+
description = "Covers various string_view migrations"
65
type = "docs"
76
+++
87

0 commit comments

Comments
 (0)