Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace TMap/TMultiMap to std::map/std::multimap #10

Merged
merged 8 commits into from
Jan 29, 2024
Merged

Conversation

euskov17
Copy link
Contributor

Заменил TMap/ TMultiMap на std::map/std::multimap везде.

Основные нетривиальные изменения это:

!map -> map.empty()
map.FindPtr(name) -> MapFindPtr(map, name)
equal_range(name) -> equal_range(static_cast(name)) (вероятно, что тут это не нужно, но без этого не получалось).

Запутался немного с гитом, поэтому появилась лишняя ветка Replace_TMap, но я не риснул её удалять.

@Gazizonoki Gazizonoki linked an issue Jan 20, 2024 that may be closed by this pull request
util/generic/map_ut.cpp Outdated Show resolved Hide resolved
util/generic/map_ut.pyx Outdated Show resolved Hide resolved
library/cpp/monlib/counters/counters.h Outdated Show resolved Hide resolved
util/generic/map_ut.cpp Outdated Show resolved Hide resolved
util/generic/map_ut.pyx Outdated Show resolved Hide resolved
util/ysaveload_ut.cpp Outdated Show resolved Hide resolved
library/cpp/cgiparam/cgiparam.h Outdated Show resolved Hide resolved
util/generic/is_in_ut.cpp Outdated Show resolved Hide resolved
util/generic/is_in_ut.cpp Outdated Show resolved Hide resolved
@Gazizonoki Gazizonoki merged commit 8808cd6 into main Jan 29, 2024
1 check passed
@Gazizonoki Gazizonoki deleted the ReplaceTMap branch January 29, 2024 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace TMap/TMultiMap to std::map/std::multimap
3 participants