nvm :suicide: (technically even assuming utf8 it can contain nul but correct edge case handling is a myth in c/++land)
Embed Notice
HTML Code
Corresponding Notice
- Embed this notice
nana (nuko@froth.zone)'s status on Thursday, 31-Jul-2025 10:23:50 JST nana
2) Extracts characters from input and appends them to str until one of the following occurs (checked in the order listed) a) end-of-file condition on input, in which case, getline sets eofbit.