< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

Re: [reSIProcate] Emulating Namespace Keyword


Which compiler are you using and which version is it? After doing a
bit of research, it seems that g++ on vxworks will support namespaces.



On 8/10/05, Jerry Richards <jerryr@xxxxxxxxxxxxxxxxx> wrote:
> 
> Well, after deep thought, here is how I plan to emulate the "namespace"
> keyword in the reSIProcate stack (since my compiler does not support it):
> 
> For each namespace (i.e. resip, std, HASH_MAP_NAMESPACE, SecurityType,
> Loadgen), I will create a *.cxx and *.hxx file (e.g. resip.cxx and
> resip.hxx).  These will define the interface and implementation for a new
> resip class, which will include to sum of all the resip namespace
> declarations.
> 
> Then, each "namespace resip {......}' item, declaration will be replaced
> with an "#include resip.hxx".  And each "using namespace resip;" statement
> will be replaced with "class resip;"
> 
> Any issues with this plan?  Any better suggestions?  I realize, these
> changes diverge significantly from the original implementation.
> 
> Best Regards,
> Jerry
> 
> 
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
>