[Dip] Restricted Master Solution Value

Matthew Galati Matthew.Galati at sas.com
Sun Oct 17 17:49:49 EDT 2010


> DecompAlgo * algo          = getDecompAlgo();
> 
> would compile since it seems like algo would be an unknown data type.
> This strikes me as odd, but anyway at least it works now.

DecompApp.h is usually included by the user and includes a fwd declaration of DecompAlgo. That is why you can get a pointer to it with getDecompAlgo(). But, to use any methods of it, you need the actual header. The "typical user" will interface through DecompApp only.







More information about the Dip mailing list