virtual int_type overflow( int_type _Meta = traits_type::eof( ) ); Parameters_Meta The character to insert into the buffer, or traits_type::eof.Return ValueIf the function cannot succeed, it returns traits_type::eof. Otherwise, it returns traits_type::not_eof(_Meta).Remarks...
basic_stringbuf::overflow 受保護的虛擬函式,可在將新字元插入已滿的緩衝區時呼叫。 C++ virtualint_typeoverflow(int_type _Meta = traits_type::eof()); 參數 _元 要插入緩衝區的字元,或traits_type::eof。 傳回值 如果函式無法成功,則會傳traits_type::eof回 。 否則會傳回traits_type::not_eof(...
basic_stringbuf::overflow A protected virtual function that can be called when a new character is inserted into a full buffer. C++ virtualint_typeoverflow(int_type _Meta = traits_type::eof()); Parameters _Meta The character to insert into the buffer, ortraits_type::eof. ...
overflow [虚] 后附字符到输出序列 (虚受保护成员函数) setbuf [虚] 试图以数组替换受控字符序列 (虚受保护成员函数) seekoff [虚] 用相对寻址,重定位输入序列、输出序列或两者中的下一位置指针 (虚受保护成员函数) seekpos [虚] 用绝对寻址,重定位输入序列、输出序列或两者中的下一位置指针 (虚受...
basic_stringbuf::overflow basic_stringbuf::pbackfail basic_stringbuf::pos_type basic_stringbuf::seekoff basic_stringbuf::seekpos basic_stringbuf::str basic_stringbuf::traits_type basic_stringbuf::underflow basic_istringstream Class basic_ostringstream Class basic_stringstream Class istringstream ostrings...
basic_stringbuf::overflow basic_stringbuf::setbuf basic_stringbuf::seekoff basic_stringbuf::seekpos Non-member functions swap(std::basic_stringbuf) (C++11) Exposition-only member functions basic_stringbuf::init_buf_ptrs (1) std::basic_string<CharT, Traits, Allocator>str()const; ...
如果overflow()使用过分配策略,那么可能会存储另外的高水位指针,以跟踪最后初始化的字符。 (C++11 起) 提供了几个针对常用字符类型的 typedef: 在标头<sstream>定义 类型定义 std::stringbufstd::basic_stringbuf<char> std::wstringbufstd::basic_stringbuf<wchar_t> ...
basic_stringbuf::overflow A protected virtual function that can be called when a new character is inserted into a full buffer. 複製 virtual int_type overflow(int_type _Meta = traits_type::eof()); Parameters _Meta The character to insert into the buffer, or traits_type::eof. Return Va...
basic_stringbuf::overflowA protected virtual function that can be called when a new character is inserted into a full buffer.C++ Copy virtual int_type overflow(int_type _Meta = traits_type::eof()); Parameters_Meta The character to insert into the buffer, or traits_type::eof....
overflow [virtual] writes characters to the associated output sequence from the put area (virtual protected member function of std::basic_streambuf<CharT,Traits>) pbasepptrepptr returns a pointer to the beginning, current character and the end of the put area (protected member function)...