Boost logo

Boost Users :

From: Christian Gmeiner (mail_at_[hidden])
Date: 2003-04-14 16:49:46


Hi!

I want to use boost's shared_ptr in my project, which is a dll.
At the moment it looks like this:

in the h:
extern MY_API CCPUDetect * gCPU;

in the cpp:
CCPUDetect * gCPU = CCPUDetect::GetInstance();

I have problems to make the same with boost, so that gCPU is a smartpointer.

Thanks, Christian Gmeiner

[Non-text portions of this message have been removed]


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