Changeset 96354 in vbox
- Timestamp:
- Aug 19, 2022 5:37:29 PM (2 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/nocrt/ios
r95993 r96354 358 358 if (cchCopied > 0) 359 359 { 360 cchCopied = RT_MIN(cchCopied, a_cchSrc);360 cchCopied = RT_MIN(cchCopied, static_cast<std::size_t>(a_cchSrc)); 361 361 traits_type::copy(&m_pachPut[m_offPutNext], a_pchSrc, cchCopied); 362 362 m_cchPut += cchCopied; -
trunk/include/iprt/nocrt/ostream
r95993 r96354 83 83 : basic_ios(a_pBuf) 84 84 { } 85 86 /** For cerr initialization. 87 * @internal */ 88 explicit basic_ostream(std::basic_streambuf<a_CharType,a_CharTraits> *a_pBuf, 89 std::basic_ostream<a_CharType, a_CharTraits> *a_pTiedStream, 90 bool a_fUnbuffered) 91 : basic_ios(a_pBuf) 92 { 93 m_pTiedStream = a_pTiedStream; 94 if (!a_fUnbuffered) 95 setf(std::ios_base::unitbuf); 96 } 97 85 98 private: 86 99 basic_ostream(basic_ostream const &a_rSrc); /* not copyable */ … … 116 129 } 117 130 118 basic_ostream &flush(); 131 basic_ostream &flush() 132 { 133 if (m_pBuf) 134 m_pBuf->pubsync(); 135 return *this; 136 } 137 119 138 pos_type tellp() RT_NOEXCEPT; 120 139 basic_ostream &seekp(pos_type a_off) RT_NOEXCEPT; … … 123 142 /** @name Internal support methods 124 143 * @{ */ 125 basic_ostream &intWrite(const char *a_pchSrc, std::streamsize a_cchToWrite); /**< Internal method outputting char buffers. */144 inline basic_ostream &intWrite(const char *a_pchSrc, std::streamsize a_cchToWrite); /**< Internal method outputting char buffers. */ 126 145 127 146 /** @returns 8, 10 or 16. */ … … 240 259 241 260 template<> 242 basic_ostream<char> &basic_ostream<char>::intWrite(const char *a_pchSrc, std::streamsize a_cchToWrite)261 inline basic_ostream<char> &basic_ostream<char>::intWrite(const char *a_pchSrc, std::streamsize a_cchToWrite) 243 262 { 244 263 return write(a_pchSrc, a_cchToWrite); -
trunk/src/VBox/Runtime/Makefile.kmk
r96338 r96354 1903 1903 r3/nocrt-clearerr.cpp \ 1904 1904 r3/nocrt-ferror.cpp \ 1905 r3/nocrt-cerr.cpp \ 1906 r3/nocrt-cout.cpp \ 1905 1907 1906 1908 RuntimeR3_SOURCES.x86 = $(RuntimeBaseR3_SOURCES.x86) \
Note:
See TracChangeset
for help on using the changeset viewer.