boostorg / boostorg/hana

Provide a substitute to BOOST_FUSION_ADAPT_STRUCT_xxx macros

Open
#181 3 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
C++
Stars
1.9k
Forks
225
PR merge metrics
No merged PRs in 30d

Description

Would it be possible to provide a substitute for `BOOST_FUSION_ADAPT_STRUCT_xxx` macros to be able to use classes and structs as heterogeneous (+associative?) sequences?

I don't know if there are any C++>=11 features that would allow improving these macros or designing a new/better version of them, but that might be worth looking into.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing BOOST_FUSION_ADAPT_STRUCT_xxx macros and how they represent classes and structs as heterogeneous sequences. Define what a replacement must support, including whether associative sequences are required, then verify that the proposed design works with C++11 or newer constraints.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.