Questions regarding current API

Jochen Katz katz____agentpp.com
Mon May 12 10:51:05 CEST 2003


Hi,

> PS One comment: I found particularly odd the new method of calling some 
> constructors and then having to check the value returned in a status 
> indicator that is part of the constructor. This seems very non-intuitive to 
> a long-time C++ programmer. We used to do this sort of thing before we had 
> exceptions, but I don't think I've seen new code that does this since 
> exception-compliant compilers became the norm.

snmp++ did not use exceptions before, so I thought it would be more 
confusing, if one class (v3MP) throws exceptions and others (Address, 
Snmp) don't.

Regards,
   Jochen




More information about the AGENTPP mailing list