#ifndef _X_new_
#define _X_new_
 
#include<boost/pool/pool.hpp>

struct X {
  int _val;
  char c[1000];
  static boost::pool<> pool;
public:
  X(int i=0):_val(i) {};
  operator int() {return _val;};
  void *operator new(size_t) throw(std::bad_alloc);
  void operator delete(void *) throw();
}; 





#endif