| 3648 | |
| 3649 | template<typename U> |
| 3650 | static inline U* create() |
| 3651 | { |
| 3652 | void* p = aligned_malloc<U>(sizeof(U)); |
| 3653 | return p != nullptr ? new (p) U : nullptr; |
| 3654 | } |
| 3655 | |
| 3656 | template<typename U, typename A1> |
| 3657 | static inline U* create(A1&& a1) |