You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/03/28 16:33:52 UTC
[GitHub] [arrow] wjones127 commented on a change in pull request #12717: ARROW-15975: [C++] Document type traits and inline visitors
wjones127 commented on a change in pull request #12717:
URL: https://github.com/apache/arrow/pull/12717#discussion_r836627330
##########
File path: docs/source/cpp/datatypes.rst
##########
@@ -66,3 +66,138 @@ To instantiate data types, it is recommended to call the provided
type = arrow::timestamp(arrow::TimeUnit::MICRO);
// A list type of single-precision floating-point values
type = arrow::list(arrow::float32());
+
+
+
+Type Traits
+-----------
+
+Writing code that can handle concrete :class:`arrow::DataType` subclasses would
+be verbose, if it weren't for type traits. They are empty structs with type
Review comment:
Thanks! That's helpful
--
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.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org