Replace Global Namespace Type Aliases with STD:: Prefixed Equivalents#5105
Replace Global Namespace Type Aliases with STD:: Prefixed Equivalents#5105bska wants to merge 1 commit intoOPM:masterfrom
Conversation
|
To Release Manager: This work is not intended for the upcoming 2026.04 release. I was just scratching an old itch and there's no rush to review/merge this. I will keep the PR updated as needed. |
|
jenkins build this please |
|
Note that |
Doesn't matter. Those that have it will be the exact same ones that we're already using. This PR is exclusively about replacing |
0514536 to
021b304
Compare
|
jenkins build this please |
738935f to
9a3f272
Compare
|
jenkins build this please |
767e1f6 to
e0b1285
Compare
|
jenkins build this please |
f21d595 to
5b6bd53
Compare
1445622 to
7666007
Compare
Agent-Logs-Url: https://github.com/bska/opm-common/sessions/d95e6a81-b15e-49f6-abc6-afccbffa3a07 Co-authored-by: bska <[email protected]>
7666007 to
4eac84e
Compare
Modernize the codebase by replacing all bare C type aliases (
size_t,int64_t,uint64_t, etc.) with theirstd::-qualified counterparts, making namespace usage explicit and consistent throughout.Changes
Type replacements across 219 files in
opm/andtests/:size_t→std::size_t(~1600 occurrences)int64_t→std::int64_t(~134 occurrences)uint64_t→std::uint64_t(~32 occurrences)uint32_t→std::uint32_t,intptr_t→std::intptr_t(handful each)Headers added where missing, placed in alphabetical order:
#include <cstddef>forstd::size_t/std::ptrdiff_t#include <cstdint>for fixed-width integer typesScope
external/resinsight/) is not touchedstd::size_tetc. are not duplicatedExample
Original prompt
This pull request was created from Copilot chat.
Agent-Logs-Url: https://github.com/bska/opm-common/sessions/d95e6a81-b15e-49f6-abc6-afccbffa3a07