Tony E Lewis
Tony E Lewis
I can't see any obvious mention of constraints on `uniform_int_distribution`'s `IntType` in [rand.dist.uni.int](http://eel.is/c++draft/rand.dist.uni.int). Perhaps this should just be raised as an issue against libstdc++ that it shouldn't constrain the type...
Yep. Fair enough. Thanks. I haven't got time for a while to report the potential libstdc++ issue but I'll put it on my to-do list.
I've created https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96731 I'm not sure it's a great report. Feel very free to wade in over there (or indeed to completely ignore :slightly_smiling_face:).
FYI: Jonathan Wakely quickly updated https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96731 to point me to http://eel.is/c++draft/rand#req.genl-1.5, which I'd missed. It says the effect of instantiating the distribution with a type other than a standard int...
Thanks. Blimey. :slightly_smiling_face:
Just FYI: Jonathan Wakely made some progress on relaxing libstc++ but thinks my example can't be made to work because the standard says `sample` requires an integral type (else the...
NP. Thanks for looking into this so quickly.
I've also hit this problem. For me it means I can't get the exported types to match the structure so I if I appease the Typescript type errors, the actual...
Thanks @Liar0320. IIUC, you're saying that the solution is to put the definitions and code in sync by importing like `import styles from "./xxxx";` and then changing the code to...
I was wondering whether there's a way to achieve whatever the relevant piece of metaprogramming is trying to achieve with out stepping on this particular GCC issue. In particular, this...