Replacing "const basic_string<CharT>" with "const CharT*, size_t length" in input and output readers