boostorg / boostorg/mp11

`make_mp_identity` function?

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

Description

In my code when I glue together boost.hana and boost.mp11 kind of MPLs I use my own `make_mp_identity` function defined as following:

```cpp
template
inline constexpr mp_identity make_mp_identity(T) noexcept { return {}; }
```

Would it be useful to add this function to mp11 library? Probably, the function should be named `mp_make_identity` rather that `make_mp_identity`.

I can make a pull request for it if needed.

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.