romainfrancois commented on a change in pull request #8256:
URL: https://github.com/apache/arrow/pull/8256#discussion_r520380853



##########
File path: r/src/arrow_cpp11.h
##########
@@ -300,22 +297,65 @@ bool GetBoolOption(const std::string& name, bool 
default_);
 namespace cpp11 {
 
 template <typename T>
-using enable_if_shared_ptr = typename std::enable_if<
-    std::is_same<std::shared_ptr<typename T::element_type>, T>::value, 
T>::type;
+std::string r6_class_name(const std::shared_ptr<T>& x);

Review comment:
       Oh interesting, I had not seen `nameof()` before. 




----------------------------------------------------------------
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