Skip to main content

Timeline for Boost::Asio server

Current License: CC BY-SA 3.0

9 events
when toggle format what by license comment
Sep 12, 2016 at 14:19 vote accept graywolf
Sep 12, 2016 at 13:35 answer added Edward timeline score: 2
Sep 9, 2016 at 22:47 comment added graywolf I will potentially write a lot of stuff to std::cout, but I will not touch std::cin
Sep 9, 2016 at 22:33 comment added Loki Astari No it won't matter. But then why do you have ios_base::sync_with_stdio(false) The only reason to use this is to decouple the C++ and C standard input and output from each other which is only done if you want to make things faster when printing to these streams.
Sep 9, 2016 at 22:07 comment added graywolf I don't use std::cin and don't plan to. This program won't that any user input (well, over std::cin at least), does it still matter in that case?
Sep 9, 2016 at 20:28 comment added Loki Astari When I see: ios_base::sync_with_stdio(false); I usually expect to see std::cout.tie(nullptr); Otherwise read from std::cin force a flush on std::cout which is probably not what you want.
Sep 9, 2016 at 19:14 history edited Jamal CC BY-SA 3.0
deleted 3 characters in body; edited title
Sep 9, 2016 at 16:39 review First posts
Sep 9, 2016 at 16:42
Sep 9, 2016 at 16:35 history asked graywolf CC BY-SA 3.0