Commit 9d01442
authored
Move ostream operators to wasm namespace (#8189)
Extending std with ostream operators is UB:
https://en.cppreference.com/w/cpp/language/extending_std.html. Including
these definitions in wasm is just as good because argument-dependent
lookup will look it up using the argument's namespace which is always
wasm anyway.
Also move MemoryOrder ostream operator from wasm.cpp to Print.cpp to
match others.1 parent 7c6eb7c commit 9d01442
3 files changed
+25
-33
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3894 | 3894 | | |
3895 | 3895 | | |
3896 | 3896 | | |
3897 | | - | |
3898 | | - | |
3899 | | - | |
3900 | | - | |
3901 | 3897 | | |
3902 | 3898 | | |
3903 | 3899 | | |
| |||
3958 | 3954 | | |
3959 | 3955 | | |
3960 | 3956 | | |
3961 | | - | |
| 3957 | + | |
| 3958 | + | |
| 3959 | + | |
| 3960 | + | |
| 3961 | + | |
| 3962 | + | |
| 3963 | + | |
| 3964 | + | |
| 3965 | + | |
| 3966 | + | |
| 3967 | + | |
| 3968 | + | |
| 3969 | + | |
| 3970 | + | |
| 3971 | + | |
| 3972 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2654 | 2654 | | |
2655 | 2655 | | |
2656 | 2656 | | |
2657 | | - | |
2658 | | - | |
2659 | | - | |
2660 | | - | |
2661 | | - | |
2662 | | - | |
2663 | | - | |
2664 | | - | |
2665 | | - | |
2666 | 2657 | | |
2667 | 2658 | | |
2668 | 2659 | | |
| |||
2673 | 2664 | | |
2674 | 2665 | | |
2675 | 2666 | | |
| 2667 | + | |
| 2668 | + | |
| 2669 | + | |
| 2670 | + | |
| 2671 | + | |
| 2672 | + | |
| 2673 | + | |
| 2674 | + | |
| 2675 | + | |
2676 | 2676 | | |
2677 | 2677 | | |
2678 | 2678 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2015 | 2015 | | |
2016 | 2016 | | |
2017 | 2017 | | |
2018 | | - | |
2019 | | - | |
2020 | | - | |
2021 | | - | |
2022 | | - | |
2023 | | - | |
2024 | | - | |
2025 | | - | |
2026 | | - | |
2027 | | - | |
2028 | | - | |
2029 | | - | |
2030 | | - | |
2031 | | - | |
2032 | | - | |
2033 | | - | |
2034 | | - | |
2035 | | - | |
2036 | | - | |
0 commit comments