8 lines
162 B
C++
8 lines
162 B
C++
#include <cstdlib>
|
|
|
|
int parse_tail_is_nul() {
|
|
char input[] = "7";
|
|
char* end = nullptr;
|
|
(void)std::strtol(input, &end, 10);
|
|
return *end == '\0';
|
|
}
|