sunmy2019

Results 18 comments of sunmy2019

> > `vector` is definitely convertible to `string_view` (... in C++23). > > Wait, what? o_O It's already implemented. https://godbolt.org/z/EzWr71z3c

IMO, we can take Python as an analogy. If something is convertible to `string_view`, printing that `string_view` is very natural. Just like `__str__` is provided in Python. The original output...

It is not possible current design, but would the author @jbeder kindly think of a new design?

It is a compromise in the current design. ## Why reference is UB here. The proxy type exists because it needs to return a pointer to the dereference result, thus...

I am bothering by the \n added at the end of the first keys ``` 1: # I dont want to change line here. 1, 2: # I dont want...

What do you mean by the code? the code in real life production is similar with the example I given.

Interesting. I am struggling with rustls now. Glad to find this PR.

rustls 0.22 introducing some breaking changes that invalidates this code. I am discovering how to fix. May take longer than I expected.

> I believe https://peps.python.org/pep-0701/ Syntactic formalization of f-strings [python/cpython#102856](https://github.com/python/cpython/issues/102856) may facilitate this proposal by parsing fields separate from string parts. Not sure if will all make it into 3.12. Seems...