|
Boost Users : |
From: Michael Kettner (kettner_at_[hidden])
Date: 2003-04-03 05:30:08
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
you can do the following:
typedef boost::shared_ptr<int> tPtrInt;
vector<tPtrInt> v;
Michael
On Thursday 03 April 2003 11:04, Maurizio Colucci wrote:
> 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
>
>
>
>
>
>
> Info: <http://www.boost.org>
> Wiki: <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl>
> Unsubscribe: <mailto:boost-users-unsubscribe_at_[hidden]>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
- --
Dipl.-Ing. Michael Kettner, Wissenschaftlicher Mitarbeiter
Institut für Verkehrswesen, Eisenbahnbau und -betrieb, Universitaet Hannover
Appelstr. 9A # Tel: ++49/(0)511/762-4273
D-30167 Hannover # Fax: ++49/(0)511/762-3001
http://www.ive.uni-hannover.de # kettner_at_[hidden]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE+jA0xkCdGnb0kVFMRAkujAJ9nuaBNWWA0u0YF5jUi9/BlVC5m6wCePHF+
eO9/hWhyAepA+wOJXfZ7k1w=
=2Rzp
-----END PGP SIGNATURE-----
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