mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add code style rule for std:: qualifier
This commit is contained in:
parent
d0103b5776
commit
c2a9e36c5c
@ -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