Make pair trivially move constructible
- Dominant language
- C++
- Stars
- 1.9k
- Forks
- 225
- PR merge metrics
- No merged PRs in 30d
Description
On the develop branch hana::pair isn't is_trivially_move_constructible anymore! On the master branch it is.
```
#include
#include
int main(){
auto p = boost::hana::make_pair(0, 0);
static_assert(std::is_trivially_copy_constructible< decltype(p) >::value, "");
static_assert(std::is_trivially_move_constructible< decltype(p) >::value, ""); // Error
}
```
I tested with clang-TOT and GCC 7.1.1 (20170509)
Contributor guide
Research direction
Begin by running the supplied minimal program on the develop and master branches, then locate boost::hana::pair and compare its construction behavior. Done means the std::is_trivially_move_constructible assertion passes on the affected branch without regressing the copy-constructibility assertion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100