Commit 685ea52
refactor: collapse mid-class #include fragment headers into parents
http_request.hpp and http_response.hpp split their class bodies across
mid-class #include fragments (http_request_auth.hpp, http_request_getters.hpp,
http_response_factories.hpp) purely to duck the old physical-line file-size
gate. Now that the gate measures SLOC, fold those declarations back inline so
each public class is one self-contained header. No behavioural change; the
matching .cpp translation units (http_request_auth.cpp, http_response_factories.cpp)
stay as separate compilation units. Parents are 149 / 132 SLOC after collapse.
The genuine encapsulation boundaries are untouched: detail::http_request_impl
(PIMPL) and the detail::body hierarchy behind http_response's SBO remain factored out.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent e203e7c commit 685ea52
8 files changed
Lines changed: 455 additions & 620 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
| 24 | + | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
| 293 | + | |
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| |||
Large diffs are not rendered by default.
This file was deleted.
0 commit comments