Boost logo

Boost Users :

From: swapna (swapna0282_at_[hidden])
Date: 2007-11-21 05:10:07


How can I instantiate a static pointer of a class using boost::scoped_pointer ?
  like for example:
  
static classA *A;
int main
{
...
...
  A = new ClassA (PArameter list);
  }
  How do I do ths with boost::scoped_pointer.

       
---------------------------------
 Save all your chat conversations. Find them online.



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