| 2863 | */ |
| 2864 | template<class T> |
| 2865 | forceinline T* |
| 2866 | Space::alloc(long unsigned int n) { |
| 2867 | T* p = static_cast<T*>(ralloc(sizeof(T)*n)); |
| 2868 | for (long unsigned int i=0; i<n; i++) |
| 2869 | (void) new (p+i) T(); |
| 2870 | return p; |
| 2871 | } |
| 2872 | template<class T> |
| 2873 | forceinline T* |
| 2874 | Space::alloc(long int n) { |