« first day (1692 days earlier)      last day (1152 days later) » 

10:11 AM
I am wondering why C++20 adopt string interpolation in which the place holders and the values are separated such as format("x: {}, y: {}", x, y) rather than just the simpler ones, for example, c#-style format($"x: {x}, y: {y}") or dart-style format("x: $x, y: $y").
 
honestly, I think it's because it was a lot easier to get through the comitee
you can implement it as a library with existing C++ features instead of having to change the definition of a string literal (or I guess having to change the parser part of every C++ compiler)
 
11:06 AM
what is this function<void()> thing?
 
std::function<T>
with using T= void();
 
ah ok
thanks
 

« first day (1692 days earlier)      last day (1152 days later) »