Use concepts for detecting method presence
Open
- Dominant language
- C++
- Stars
- 182
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
Ideally I'd ask if you could 'simply' drop precpp20 (or even 23) support 😊 but if that is not feasible can you please use concepts (instead of SFINAE and old meta tricks) wherever possible or at least for detecting the presence of certain methods (like push_back) - with your current approach I got [compilation errors](https://github.com/psiha/vm/pull/53/commits/ad8ab4ee5960fa446d8238d14ab52016b74782ac) w/ _explicit object parameter_ and constructs like `T{}.push_back()` (as the T{} rvalue cannot bind to an lvalue reference like `this T &`).
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.