We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flatten tuple-like aggregates to ease implementation.
struct A{ int i = 42; char c = 'a'; }; struct B{ float f = .123f; A a; }; struct C{ bool b_ = true; B b; }; // flatten C: bool, float, int, char
Add transformations such as typename ... modifier_ts projection-like.
typename ... modifier_ts
auto join_view_v = join<indexed, typenamed>(C{}); using result_t = std::tuple< fmt::formatter<depth_enumerated_t<0, bool>>, fmt::formatter<depth_enumerated_t<1, float>>, fmt::formatter<depth_enumerated_t<2, int>>, fmt::formatter<depth_enumerated_t<2, char>>, >; // or using result_t = std::tuple< fmt::formatter<depth_enumerated_t<0, C>>, fmt::formatter<depth_enumerated_t<1, bool>>, fmt::formatter<depth_enumerated_t<1, B>>, fmt::formatter<depth_enumerated_t<2, float>>, fmt::formatter<depth_enumerated_t<2, A>>, fmt::formatter<depth_enumerated_t<3, int>>, fmt::formatter<depth_enumerated_t<3, char>>, >;
csl::mp::tuple_cat
The text was updated successfully, but these errors were encountered:
GuillaumeDua
No branches or pull requests
In a nutshell
Motivation
Flatten tuple-like aggregates to ease implementation.
Details
Add transformations such as
typename ... modifier_ts
projection-like.Design
csl::mp::tuple_cat
instead): https://godbolt.org/z/T5rxzn35eThe text was updated successfully, but these errors were encountered: