template<class CharType>
struct StringWithLength
{
size_t length;
CharType* str_buf;
};
我想对字段长度添加一些评论。我有两个选择:
#1. "The field length is the size of str_buf by the byte"
(Consider "The worker is paid by the hour")
#2. "The field length is the size of str_buf in bytes"
从以英语为母语的人的角度来看,哪个更自然?
谢谢。