Updated Clang Format Text Style (markdown) authored by williamfgc's avatar williamfgc
...@@ -20,7 +20,9 @@ using std::vector<std::vector<double>> = vDouble2D; ...@@ -20,7 +20,9 @@ using std::vector<std::vector<double>> = vDouble2D;
<strong>Using and typedef keywords:</strong> Prefer the keyword using over typedef for readability. Only rename very long complex or custom types, do not rename standard types ( int , double , std::vector ). Prefer including ADIOSTypes.h as it contains fixed types in the std:: namespace uint8_t, uint64_t . <strong>Using and typedef keywords:</strong> Prefer the keyword using over typedef for readability. Only rename very long complex or custom types, do not rename standard types ( int , double , std::vector ). Prefer including ADIOSTypes.h as it contains fixed types in the std:: namespace uint8_t, uint64_t .
<ul> <ul>
<li>Don't: <li>Don't:
```cpp typedef std::vector<std::vector<std::map<std::string, double>>> MapIn2DVector;``` ```cpp
typedef std::vector<std::vector<std::map<std::string, double>>> MapIn2DVector;
```
</li> </li>
<li><code>Do</code> <ul><li><pre style="border: 0;"><code> using std::vector &lt; std::vector &lt; std::map &lt; std::string , double &gt; &gt; &gt; = <strong>MapIn2DVector;</strong> </code></pre></li></ul></li></ul></li></ol> <li><code>Do</code> <ul><li><pre style="border: 0;"><code> using std::vector &lt; std::vector &lt; std::map &lt; std::string , double &gt; &gt; &gt; = <strong>MapIn2DVector;</strong> </code></pre></li></ul></li></ul></li></ol>
\ No newline at end of file