boostorg / boostorg/mp11

Maybe add (mp_)list_invoke

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

Description

```
template auto list_invoke( F&& f );

// Returns: f( T{}... ), where T... are the elements of L, or mp_value{}..., for a value list
```

Motivation: https://twitter.com/ericniebler/status/1671986987396415491

`list_invoke>( [&](auto... I){ ... } );`

Name TBD. mp_with_list?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.