c++ Programming Glossary: basic_streambuf
Does C++ ofstream file writing use a buffer? http://stackoverflow.com/questions/10449772/does-c-ofstream-file-writing-use-a-buffer buffer some subclass of an instantiation of the template basic_streambuf. The interface of basic_streambuf is designed so that an implementation.. of the template basic_streambuf. The interface of basic_streambuf is designed so that an implementation can do buffering if there's..
Setting the internal buffer used by a standard stream (pubsetbuf) http://stackoverflow.com/questions/1494182/setting-the-internal-buffer-used-by-a-standard-stream-pubsetbuf template typename char_type struct ostreambuf public std basic_streambuf char_type std char_traits char_type ostreambuf char_type buffer..
error C2512: 'std::basic_ostream<_Elem,_Traits>' : no appropriate default constructor available with Visual Studio only http://stackoverflow.com/questions/15361460/error-c2512-stdbasic-ostream-elem-traits-no-appropriate-default-constr is the following one explicit basic_ostream std basic_streambuf CharT Traits sb Your class constructor should look something..
Simpler way to create a C++ memorystream from (char*, size_t), without copying the data? http://stackoverflow.com/questions/2079912/simpler-way-to-create-a-c-memorystream-from-char-size-t-without-copying-t anything ready made so I came up with class membuf public basic_streambuf char public membuf char p size_t n setg p p p n setp p p n Usage..
Redirect C++ std::clog to syslog on Unix http://stackoverflow.com/questions/2638654/redirect-c-stdclog-to-syslog-on-unix os const LogPriority log_priority class Log public std basic_streambuf char std char_traits char public explicit Log std string ident..
Does the C++ standard mandate poor performance for iostreams, or am I just dealing with a poor implementation? [closed] http://stackoverflow.com/questions/4340396/does-the-c-standard-mandate-poor-performance-for-iostreams-or-am-i-just-deali with GCC gives the following breakdown 44.23 in std basic_streambuf char xsputn char const int 34.62 in std ostream write char const..
The effect of `basic_streambuf::setbuf` http://stackoverflow.com/questions/4349778/the-effect-of-basic-streambufsetbuf effect of `basic_streambuf setbuf` My problem is as follows Martin York claims in this.. are related quotes I found in the last C 0x draft. For the basic_streambuf setbuf streambuf.virt.buffer 1 Effects Influences stream buffering.. way that is defined separately for each class derived from basic_streambuf in this Clause 27.8.1.4 27.9.1.5 . 2 Default behavior Does nothing..
Overload resolution failure when streaming object via implicit conversion to string http://stackoverflow.com/questions/6677072/overload-resolution-failure-when-streaming-object-via-implicit-conversion-to-str _Traits std basic_ostream _CharT _Traits operator std basic_streambuf _CharT _Traits with _CharT char _Traits std char_traits char..
Segmentation fault in malloc_consolidate (malloc.c) that valgrind doesn't detect http://stackoverflow.com/questions/6725164/segmentation-fault-in-malloc-consolidate-malloc-c-that-valgrind-doesnt-detect usr lib i386 linux gnu libstdc .so.6 #8 0xb7f70e1c in std basic_streambuf char std char_traits char xsputn char const int from usr lib..
May STL iterator methods throw an exception http://stackoverflow.com/questions/7902452/may-stl-iterator-methods-throw-an-exception std istreambuf_iterator operator effects in call to std basic_streambuf sbumpc . The sbumpc may call uflow which in turn may throw exception...
|