formatting fix

This commit is contained in:
Arun Saha
2017-02-18 08:23:28 -08:00
parent 6e3f2d3f3c
commit eea3d25f0c
2 changed files with 2 additions and 2 deletions

View File

@@ -179,7 +179,7 @@ if (caseA) {
```cpp
// Better Idea
const std::string somevalue = caseA?"Value A":"Value B";
const std::string somevalue = caseA ? "Value A" : "Value B";
```
More complex cases can be facilitated with an [immediately-invoked lambda](http://blog2.emptycrate.com/content/complex-object-initialization-optimization-iife-c11).