tqchen commented on a change in pull request #5719:
URL: https://github.com/apache/incubator-tvm/pull/5719#discussion_r434767483



##########
File path: include/tvm/node/container.h
##########
@@ -96,8 +98,7 @@ class MapNode : public Object {
  * \tparam V The value NodeRef type.
  */
 template <typename K, typename V,
-          typename = typename std::enable_if<std::is_base_of<ObjectRef, 
K>::value ||
-                                             std::is_base_of<std::string, 
K>::value>::type,
+          typename = typename std::enable_if<std::is_base_of<ObjectRef, 
K>::value>::type,

Review comment:
       I think that it is better to directly change it to static_assert later, 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to