moved f4ll_cpp imto its own namespace
moved strutil to the application
This commit is contained in:
parent
0e09fd9a7a
commit
8c62136773
21 changed files with 70 additions and 27 deletions
|
@ -10,6 +10,8 @@
|
|||
|
||||
#include <utility>
|
||||
|
||||
namespace f4ll_cpp {
|
||||
|
||||
template<typename T> class Singleton {
|
||||
public:
|
||||
static T &Instance() { return *m_instance; }
|
||||
|
@ -32,4 +34,6 @@ protected:
|
|||
|
||||
template<typename T> T* Singleton<T>::m_instance = nullptr;
|
||||
|
||||
} // f4ll_cpp
|
||||
|
||||
#endif /* SINGLETON_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue