Commit b80e679
authored
Update cpp_tricks.md: std::random_device()
thread_local std::mt19937 gen(std::random_device()());
会被当成函数,无法编译1 parent ed9392e commit b80e679
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
725 | 725 | | |
726 | 726 | | |
727 | 727 | | |
728 | | - | |
| 728 | + | |
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
| |||
0 commit comments