While i am going through different examples in NS-3 ( network simulator) i came across a definition like this. I coudn't figure out what exactly this syntax means.
Ptr<Node>  a = CreateObject < Node > ();  
In some other cases they use similar syntax, but RHS is quite different.
HelperClass help;
Ptr< xxx > a = help.somethingrandom();
or they prefix const before xxx. 
I guess this is a different way of creating objects in c++. But it is still confusing. Can anyone please elaborate whats happening ? Thanks in advance.
 
     
    