Skip to content

Commit 12eaf0d

Browse files
authored
Fixes usage of operator""min in UDL (#68)
resolves #67
1 parent 85f6612 commit 12eaf0d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/user-defined-literals.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ _Why do we want to learn/teach this topic?_
3434

3535
* Allows clearer expression of intent in C++.
3636
* `std::string`: `"Hello, world!"s`
37-
* `std::chrono`: `3h + 10m + 5s`
37+
* `std::chrono`: `3h + 10min + 5s`
3838

3939
## Topic introduction
4040

4141
_Very brief introduction to the topic._
4242

43-
* Explain the existence of user defined literals. Example: `12m + 17s` is terse,
43+
* Explain the existence of user defined literals. Example: `12min + 17s` is terse,
4444
expressive and type safe.
4545

4646
## Foundational: Using UDLs

0 commit comments

Comments
 (0)