[C++] Implement a lighter-weight variant

XMLWordPrintableJSON

      util::variant is an extremely useful structure but its header slows compilation significantly, so using it in public headers is questionable https://github.com/apache/arrow/pull/6545#discussion_r388406246

      I'll try writing a lighter weight version.

            Assignee:
            Ben Kietzman
            Reporter:
            Ben Kietzman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 5.5h
                5.5h