summaryrefslogtreecommitdiffstats
path: root/tips/formatting.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'tips/formatting.adoc')
-rw-r--r--tips/formatting.adoc7
1 files changed, 3 insertions, 4 deletions
diff --git a/tips/formatting.adoc b/tips/formatting.adoc
index 3180aeb..58c5251 100644
--- a/tips/formatting.adoc
+++ b/tips/formatting.adoc
@@ -26,10 +26,11 @@ Example implementation:
/* Stream manipulator macros
* =========================
- *
- * Requires <iostream> and <iomanip>
*/
+#include <iostream>
+#include <iomanip>
+
// The parenthesis in C/C++ macros are best practice
// https://stackoverflow.com/q/7186504/7498073
@@ -62,8 +63,6 @@ Example usage:
/* Example usage
* ============= */
-#include <iostream>
-#include <iomanip>
#include "aux.h" // It's easier to import a single .h to many .cpp files
using namespace std;