问题
There are two names in C++ standard I/O library: rdstate
and rdbuf
. I know "state" and "buf", but what is "rd"?
(PS: I believe I know how to use rdstate
and rdbuf
, don't teach me that).
回答1:
They stand for "read" I think, similar to how most people use "getXXX".
来源:https://stackoverflow.com/questions/14080153/what-does-rd-stand-for-in-rdstate-and-rdbuf