-
Notifications
You must be signed in to change notification settings - Fork 2
Kf-44 port string #82
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
base: main
Are you sure you want to change the base?
Conversation
include/kf/stl/string
Outdated
| using u32string = kf::basic_string<char32_t, PoolType>; | ||
|
|
||
| // | ||
| // string to numeric |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Цю функцію необхідно декомпозувати, частини можна помістити у сабнеймспейс detail
idx, на мою думку - це оверінженірінг, тому що стандартні функції такого не мають
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stoi має параметри ( const std::string& str, std::size_t* pos = nullptr, int base = 10 ), де pos - an address of the first unconverted character in str.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Зрозумів, лишай сигнатуру, але декомпозувати її необхідно
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
++
include/kf/stl/string
Outdated
| // numeric to string | ||
| // | ||
|
|
||
| constexpr size_t kMaxLongLongStrLength = 21; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
потрібне пояснення
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Додала комент
Task: https://jira.dev.local/jira/browse/KF-44
Based on #81