This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef SINGLETON_H | |
#define SINGLETON_H | |
#include <string> | |
using namespace std; | |
template<typename T> | |
class Singleton | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef POOL_H | |
#define POOL_H | |
#include <list> | |
#include <iostream> | |
using namespace std; | |
template<typename T> | |
class Pool |