Endian: docs and examples improvements

git-svn-id: http://svn.boost.org/svn/boost/sandbox/endian@51855 b8fc166d-592f-0410-95f2-cb63ce0dd405
This commit is contained in:
bemandawes committed 2009-03-19 14:33:59 +00:00
1 parent 1218fc6f5c
commit 0f36e2670d
6 files changed
+133 -47

No files matched your search

+3 -2
View File
@@ -15,9 +15,10 @@
#include <ostream>
#include <istream>
// unformatted binary (as opposed to formatted character-set) input and output
// unformatted binary (as opposed to formatted character) stream insertion
// and extraction.
// Caution: Use only on streams opened with filemode std::ios_base::binary. Thus
// Warning: Use only on streams opened with filemode std::ios_base::binary. Thus
// unformatted binary I/O should not be with the standard streams (cout, cin, etc.)
// since they are opened in text mode. Use on text streams may produce incorrect
// results, such as insertion of unwanted characters or premature end-of-file.