View Single Post
Join Date: Dec 2007
Posts: 68
Reputation: Rhohitman is an unknown quantity at this point 
Solved Threads: 4
Rhohitman's Avatar
Rhohitman Rhohitman is offline Offline
Junior Poster in Training

Re: How to use typedef for the template structure? What its syntax?

 
0
  #6
Oct 10th, 2008
Originally Posted by ArkM View Post
What's a problem?
  1. typedef box<int> MyFavouriteBoxType;
  2. ...
  3. MyFavouriteBoxType b1;
Look at STL headers on you C++ installation. There are lots of (useful) typedefs in STL templates...
Is there any possibilities to have generic type typedef. As normally typedef copies complete characteristics of it host.
Last edited by Rhohitman; Oct 10th, 2008 at 12:59 pm.
Chazing Dreams ;'P
Shhhh.......ZZzzzzzzzzzzzzzzzzzzzz.....
Reply With Quote