[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] C++ notation?





> 
> TCL& tcl = TCL::instance();
> 
> thank you!
> -- 
>
--------------------------------------------------------------------------
>         Cordialement
>         
> Koubaa Anis 
> Organization : LORIA Nancy
> Equipe : RESEDAS
> Adresse : CU Haute Malgrange Vandeoeuvre Nancy Bloc C 528
> Mail : [email protected]
> Projet : Comparaison des Protocoles de cl�s de distribution de cl� de
> groupe en utilisant NS
>
--------------------------------------------------------------------------
> 

"TCL& tcl" declares a reference (a kind of alias)

In tclcl.h:
60:        static inline Tcl& instance() { return (instance_); }
149:        static Tcl instance_;

-- 
Lucas Barri�re

[email protected]
http://aemiaif.lip6.fr/etudiants/lucas
UNIX is user-friendly. it's just selective about who its friends are.