Open relaxcn opened 2 years ago
in the ex13_44_47.h, the size and length function is different.
ex13_44_47.h
size_t size() const { return end - elements; } size_t length() const { return end - elements - 1; }
But this website says that they return the same value, they are synonyms.
maybe minus the terminating null character '\0'?
in the
ex13_44_47.h
, the size and length function is different.But this website says that they return the same value, they are synonyms.