vbvictor wrote:

I think we should strictly follow "allowed cases" from 
https://en.cppreference.com/w/cpp/language/extending_std.html, which include 
some modifications of `ranges` but say nothing about `chrono`.

> It is undefined behavior to add declarations or definitions to namespace std 
> or to any namespace nested within std, with a few exceptions noted below.

I can't imagine why someone would just open std namespace without any 
declarations in it - this is still worth diagnosing imho.

https://github.com/llvm/llvm-project/pull/174170
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to