dmlc / HalideIR

Symbolic Expression and Statement Module for new DSLs
Other
205 stars 59 forks source link

Destructor undefined #40

Closed lihaozhehw closed 5 years ago

lihaozhehw commented 5 years ago

The purpose of the destructor is to do the corresponding cleanup when the class is released, so that the coder does not forget the cleanup of the resource, so if there is a constructor, there must be a destructor.

PENGUINLIONG commented 5 years ago

First, destructors are automatically generated by the compiler if not explicitly provided. This is a standard behavior.

Second, please make all related changes in a single pull request. Your changes don't need to be reviewed and accepted separately.