I have a question that I hope somebody within the development team can answer.

STAFCommandParserPtr is defined as STAFRefPtr<STAFCommandParser>, which turns 
out to be more or less the same as a STAFCommandParser* in many ways - so why 
not just use the latter? 

The reason I ask is that I have the need to create and destroy parsers defined 
via this interface; I need to be able to reload parsers, in essence. I imagine 
that using "STAFCommandParser *p=new STAFCommandParser; ...; delete p;" would 
do the trick nicely. Am I missing something essential here?

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to