Antwort: [AGENT++] Seems to be a bug ...

Jens Engel Jens.Engel at marconi.com
Tue Jun 13 09:31:58 CEST 2006


Karl> seems that this is not a Copy Constructor.
Karl> 
Karl> file snmp_pp_ext.h from 160 to 165:
Karl>                 /**
Karl>                  * Copy constructor.
Karl>                  *
Karl>                  * @param oid - Another object identifier.
Karl>                  */
Karl>                 Oidx(const Oid& oid);

That is correct.
The comment is wrong and should be "Init constructor".
But because Snmp_pp::Oid is the base class of Agentpp::Oidx
and Agentpp::Oidx does not hold any data, this should not make much of a 
difference.

Ciao,
Jens Engel




More information about the AGENTPP mailing list