Commit 5cfca3a2 by tqchen

update comment

parent be8de13f
...@@ -53,13 +53,7 @@ class IRMutator { ...@@ -53,13 +53,7 @@ class IRMutator {
}; };
/*! /*!
* \brief templatized base class of subclass of IRMutator * \brief Example on how to subclass and override behavior of IRMutator
*
* Use "curiously recurring template pattern" to implement mutate for you.
* Child class need to declare IRMutatorBase<T>::vtable_expr and IRMutatorBase<T>::vtable_stmt
*
* \note This only implement direct subclass from IRMutator, similar code
* can be created to implement deeper subclassing when needed.
*/ */
class IRMutatorExample : public IRMutator { class IRMutatorExample : public IRMutator {
public: public:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment