Re: [PATCH kvm-unit-tests 2/4] Introduce a C++ wrapper for the kvm APIs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/24/2010 07:36 PM, Gleb Natapov wrote:
>  That is pure bullshit.  All major browsers are written in C++, all
>  major office suites, one leading free desktop, google, countless
>  other projects.  There is a lot more C++ code in the world than C
>  code.  If virtual functions didn't behave as expected, surely we'd
>  hear by now.
>
Google don't use exceptions though :) They claim it is hard to integrate
with legacy code if exceptions are used. Our case BTW.

It's possible, but very nasty. You add wrappers that convert error codes to exceptions and vice versa. If your goal is to eventually convert the entire code base, those wrappers eventually disappear.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux