Re:Why Zig when there is already C++, D, and Rust?
by nynx on Saturday January 16, 2021 @12:56AM
(#25800415)
Could you elaborate on what this is, exactly?
Re:Why Zig when there is already C++, D, and Rust?
by secondcoming on Saturday January 16, 2021 @06:08AM
(#25801523)
In short, it allows a std::map<K, V> to be queried with a type that isn't K. For example,
std::map<std::string, int> m;
std::string_view sv = "mykey";
auto&& iter = m.find(sv);
https://stackoverflow.com/questions/20317413/what-are-transp...