Skip to content

Conversation

@Kellesi
Copy link
Collaborator

@Kellesi Kellesi commented Sep 9, 2025

using u32string = kf::basic_string<char32_t, PoolType>;

//
// string to numeric
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Цю функцію необхідно декомпозувати, частини можна помістити у сабнеймспейс detail
idx, на мою думку - це оверінженірінг, тому що стандартні функції такого не мають

Copy link
Collaborator Author

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.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Зрозумів, лишай сигнатуру, але декомпозувати її необхідно

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

++

// numeric to string
//

constexpr size_t kMaxLongLongStrLength = 21;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

потрібне пояснення

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Додала комент

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.

2 participants