mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #13554 from ethereum/code-style-rule-for-std-qualifier
Add code style rule for std:: qualifier
This commit is contained in:
commit
b12b845739
@ -55,6 +55,7 @@ To set indentation and tab width settings uniformly, the repository contains an
|
||||
3. All symbols should be declared in a namespace except for final applications.
|
||||
4. Use anonymous namespaces for helpers whose scope is a cpp file only.
|
||||
5. Preprocessor symbols should be prefixed with the namespace in all-caps and an underscore.
|
||||
6. Do not use `std::` qualifier in cpp files (see 2.), except for `std::move`, which will otherwise cause the `check_style` step to fail.
|
||||
|
||||
Only in the header:
|
||||
```cpp
|
||||
|
Loading…
Reference in New Issue
Block a user