boostorg / boostorg/multiprecision

mpq_rational(enum)

Open
#36 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
265
Forks
128
Avg merge
4h 48m
Merged PRs (30d)
2

Description

```c++
#include
typedef boost::multiprecision::mpq_rational NT;
enum E { neg = -1, zero, pos } e;
int main(){
NT a = e;
}
```

fails to compile, while it works for `cpp_rational`. (In my application, it is actually `q == e` that failed to compile, but I assume that is the same issue)

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.