A. Jiang

Results 246 comments of A. Jiang

It seemly introduces additional indirections to use `FILE*`. In UCRT, it is needed to dereference a `FILE*` pointer twice to access the internal `__crt_stdio_stream_data` object, whose functionality, IIUC, is roughly...

> [P1759](https://github.com/cplusplus/papers/issues/516) got approved, so Microsoft STL team will soon have to decide what `basic_filebuf::native_handle()` should actually return. I think MSVC STL will do the same thing as indicated by...

While this bug should be fixed (by using `static_cast(_RANGES distance(_Range))` instead of `_RANGES distance(_Range)`, IMO), I have some further concerns. In some cases, `range_difference_t` is wider than `range_difference_t`, and the...

This seemingly supersedes #891. But some requirements seem bogus (https://github.com/microsoft/STL/issues/891#issuecomment-646076013).

This looks like duplicate of #3163. It's a unfortunate that annotations in SAL for concurrency isn't designed for C++ lock types (https://github.com/microsoft/STL/pull/3536#issuecomment-1489352034). But it seems possible to me to add...

I wonder whether this issue would be reused if nothing gets changed for Q3. 😿

> FWIW, there will be a VS 17.13. If we can get `generator` (at the finish line), `flat_map`, and `flat_set` finished in a couple of months, then we can ship...

It's unfortunate that [[cmp.categories.pre]/3](https://eel.is/c++draft/cmp.categories.pre#3) doesn't seem to limit the evilness of the unspecified parameter type...

Oh, I think this is probably because of that MSVC hasn't implemented WG21-P2564R3 (DR against C++20). Reduced example ([Godbolt link](https://godbolt.org/z/Yn1xh7xjq)): ```C++ struct Par { consteval Par(int) {} }; template constexpr...

> the _Literal_zero_is_expected function is used as an exported function. The body of a `consteval` function should not cause ASM generation. This looks like a bug of Clang (something like...