[Bug libstdc++/45574] cin.getline() is extremely slow

paolo dot carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Wed Sep 8 10:20:00 GMT 2010



------- Comment #12 from paolo dot carlini at oracle dot com  2010-09-08 10:20 -------
By the way, getdelim is not standard, thus would work only on linux, even more
special casing. More importantly, fgets *stores* newline and '\0', at variance
with getline, I don't think it can be used as-is as an implementation detail.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45574



More information about the Gcc-bugs mailing list