Talk:cpp/io/basic streambuf/overflow


Maybe it would be useful to put links what is:

put area

output sequence

output area

Thank you

vlakov-- 21:20, 23 July 2014 (PDT)

as in, additional links back to basic_streambuf? --Cubbi (talk) 03:26, 24 July 2014 (PDT)
I am very sorry. I just googled: "output area" "output sequence" "put area" and it resulted to this page (overflow). :-). In future I will try to search a little more. So as I understand it all the 3 terms are designating the one "put area". I wanted to look a little closer to the overflow as in the new Stroustrup's book the overflow is mentioned only/touched. Thank you. vlakov-- 05:16, 24 July 2014 (PDT)
No, there are 2 different things: put area (in-memory buffer), and output sequence (file, stdout, socket, etc). overflow() moves data from the put area into the output sequence. (updated the page because 'output area' was redundant) As for books, as this is a library component, Josuttis may be more appropriate --Cubbi (talk) 06:35, 24 July 2014 (PDT)
You are very helpful, thank you. I admit I was confused because on the page basic_streambuf is literally this text:
output sequence (also called put area)
input sequence (also called get area)
vlakov-- 07:39, 24 July 2014 (PDT)
indeed, this needs to be further reviewed for consistency. --Cubbi (talk) 08:49, 24 July 2014 (PDT)