about Args

yankun at iscas.ac.cn yankun at iscas.ac.cn
Tue May 17 12:49:12 UTC 2016


Hi,all
In apt source code, The file "/apt-get.cc"  ,line 1715, CommandLine CmdL(Args,data(),_config).
But Args does not have a element data();


struct CommandLine::Args
{
   char ShortOpt;
   const char *LongOpt;
   const char *ConfName;
   unsigned long Flags;
   
   inline bool end() {return ShortOpt == 0 && LongOpt == 0;};
   inline bool IsBoolean() {return Flags == 0 || (Flags & (Boolean|InvBoolean)) != 0;};
};



So  how should I understand it?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20160517/de0108d3/attachment.html>


More information about the Ubuntu-devel-discuss mailing list