Boost logo

Boost Users :

From: Maurizio Colucci (seguso_at_[hidden])
Date: 2003-04-03 04:04:36


Hello,

Is there some way I can abbreviate the name shared_ptr? I make
extensive use of it, and my code tends to be ugly...

vector<p<int> > v;

would be much better than

vector<shared_ptr<int> > v;

is something like

typedef shared_ptr p;

possible?

Thanks,

Maurizio


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net