bkietz commented on a change in pull request #8256:
URL: https://github.com/apache/arrow/pull/8256#discussion_r516761809
##########
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:
Is there any way this could get a default using `nameof()`? I think
that'd cover most of the cases like `Field` which don't require dispatch
----------------------------------------------------------------
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]