Updated Clang Format Text Style (markdown) authored by williamfgc's avatar williamfgc
...@@ -33,13 +33,13 @@ ...@@ -33,13 +33,13 @@
4. <strong>Using and typedef keywords:</strong> Prefer the keyword <strong>using</strong> over <strong>typedef</strong> for readability. Only rename very long complex or custom types, do not rename standard types (int, double, std::vector<double>). Prefer including ADIOSTypes.h as it contains fixed types in the std:: namespace uint8_t, uint64_t . 4. <strong>Using and typedef keywords:</strong> Prefer the keyword <strong>using</strong> over <strong>typedef</strong> for readability. Only rename very long complex or custom types, do not rename standard types (int, double, std::vector<double>). Prefer including ADIOSTypes.h as it contains fixed types in the std:: namespace uint8_t, uint64_t .
* Don't * _Don't_
```cpp ```cpp
typedef std::vector<std::vector<std::map<std::string, double>>> MapIn2DVector; typedef std::vector<std::vector<std::map<std::string, double>>> MapIn2DVector;
``` ```
* Do * _Do_
```cpp ```cpp
using std::vector<std::vector<std::map<std::string, double>>> = MapIn2DVector; using std::vector<std::vector<std::map<std::string, double>>> = MapIn2DVector;
... ...
......