| 60 | } |
| 61 | |
| 62 | void *type_identity::allocate() const { |
| 63 | if (can_allocate()) |
| 64 | return do_allocate(); |
| 65 | else |
| 66 | return NULL; |
| 67 | } |
| 68 | |
| 69 | bool type_identity::copy(void *tgt, const void *src) const { |
| 70 | if (can_allocate() && tgt && src) |
no test coverage detected