boostorg / boostorg/variant2

Recursive variants

Open
#59 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
71
Forks
41
PR merge metrics
No merged PRs in 30d

Description

Is the purpose of Variant2 to only implement `std::variant` or to have new interfaces? Is this the right place to discuss the possibility of a shared/recursive variant? I don't have any statistics, but I think mixing shared_ptr and variants is a common pattern to have recursive variants? Could there be a shared_variant that takes some of the boilerplate away and adds more operations (e.g. shared_from_this, upcasts, ...)?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue contains no file, test, or entry point to start from; first read the Variant2 API and existing recursive-variant discussions. Done would require a maintainer decision on whether Variant2 should add new interfaces and whether a shared_variant belongs in this project.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.