Re: Code base visitor pattern help

2021-05-06 Thread Wes McKinney
What are you trying to do? You can look at various usages of VisitArrayInline (inline / non-virtual visitor) or the corresponding ArrayVisitor virtual interface which is used elsewhere where it makes sense https://github.com/apache/arrow/search?q=VisitArrayInline we use SFINAE / std::enable_if q

Code base visitor pattern help

2021-05-06 Thread Niranda Perera
Hi all, I am following the latest arrow c++ code base and I figured that visitor pattern is extensively used there. When I go through the code naively, I sometimes get immersed in templates and preprocessor directives. :D Could you give some pointers to start on the impl, especially in the arrow c