c++ Programming Glossary: impfactory
C++: Undefined reference to instance in Singleton class http://stackoverflow.com/questions/2145331/c-undefined-reference-to-instance-in-singleton-class pattern. Here's the .h file namespace oxygen class ImpFactory public static boost shared_ptr ImpFactory GetInstance private.. oxygen class ImpFactory public static boost shared_ptr ImpFactory GetInstance private static boost shared_ptr ImpFactory mInstance.. ImpFactory GetInstance private static boost shared_ptr ImpFactory mInstance and here's the .cpp file #include impfactory.h using..
|