Originally Posted by Lykurg And by the way must it in your example in the wiki not be Qt Code: Switch view Singleton* Singleton::m_Instance = 0; Singleton* Singleton::m_Instance = 0; To copy to clipboard, switch view to plain text mode instead of Qt Code: Switch view Singleton* m_Instance = 0; Singleton* m_Instance = 0; To copy to clipboard, switch view to plain text mode Yes, of course. Thank you, Lykurg for spotting it, and thank you, jacek, for correcting it before I spotted this thread
Singleton* Singleton::m_Instance = 0;
Singleton* m_Instance = 0;
Forum Rules
Bookmarks