Skip to content

Commit 117be53

Browse files
committed
fixes
1 parent 72b941e commit 117be53

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

cppcon2025/cppcon_2025_slides.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ fmt::format(
213213

214214
<!-- The code was really painful to read, this is probably sufficient. -->
215215
```cpp
216-
object obj = val.get_object();
216+
object obj = json.get_object();
217217
p.username = obj["username"].get_string();
218218
p.level = obj["level"].get_int64();
219219
p.health = obj["health"].get_double();
@@ -536,6 +536,8 @@ concept container =
536536
};
537537
```
538538

539+
* Could also use iterators (`begin()`).
540+
539541
---
540542

541543
# Containers, but not string types
@@ -624,7 +626,7 @@ constexpr decltype(auto) emplace_one(T &vec, Args &&...args) {
624626
---
625627
626628
627-
# Derialize 'array-like' Containers
629+
# Deserialize 'array-like' Containers
628630
```cpp
629631
auto arr = json.get_array()
630632
for (auto v : arr) {
@@ -803,7 +805,7 @@ error: invalid use of incomplete type 'std::reflect::member_info<
803805

804806
4) **SIMD**: String operations benefit
805807

806-
5) **Many optimizationns may help**
808+
5) **Many optimizations may help**
807809

808810
---
809811

cppcon2025/images/gwenold.jpeg

1.21 MB
Loading

0 commit comments

Comments
 (0)