LWN.net Logo

Sometimes C++ is faster

Sometimes C++ is faster

Posted Jun 26, 2008 12:45 UTC (Thu) by tbrownaw (guest, #45457)
In reply to: Sometimes C++ is faster by endecotp
Parent article: Converting GCC to C++

- Virtual methods are rare in C++ (compared to e.g. Java). I don't believe there are any at
all in the standard library, for example.
std::streambuf::xs{get,put}n and several other protected streambuf functions. Not something you'll usually work with directly, but used by all the i/o streams.


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds