jbcoe / jbcoe/value_types

supporting `indirect = {};`

Open
#614 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
87
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Would providing an overload like `operator=(T && value)` be a good idea?

Currently writing this is not possible:

```cpp
indirect t;
t = {}; // compile error
t = T{}; // OK
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.