Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abseil-cpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
abseil-cpp
Commits
1cb3345d
Commit
1cb3345d
authored
Nov 03, 2023
by
Abseil Team
Committed by
Copybara-Service
Nov 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Doc fix.
PiperOrigin-RevId: 579263069 Change-Id: I78678c2fc6aba4851f8a06dafb695c913accf0d0
parent
1a03fb9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
absl/strings/str_format.h
+2
-2
No files found.
absl/strings/str_format.h
View file @
1cb3345d
...
@@ -287,8 +287,8 @@ using FormatSpec = str_format_internal::FormatSpecTemplate<
...
@@ -287,8 +287,8 @@ using FormatSpec = str_format_internal::FormatSpecTemplate<
// Example:
// Example:
//
//
// // Verified at compile time.
// // Verified at compile time.
// absl::ParsedFormat<'s', 'd'> format
S
tring("Welcome to %s, Number %d!");
// absl::ParsedFormat<'s', 'd'> format
_s
tring("Welcome to %s, Number %d!");
// absl::StrFormat(format
S
tring, "TheVillage", 6);
// absl::StrFormat(format
_s
tring, "TheVillage", 6);
//
//
// // Verified at runtime.
// // Verified at runtime.
// auto format_runtime = absl::ParsedFormat<'d'>::New(format_string);
// auto format_runtime = absl::ParsedFormat<'d'>::New(format_string);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment