From 3d2229ea93ff63386dbca9c2ff5fea99f6dfd9f3 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Fri, 1 Sep 2017 12:49:49 +1000 Subject: [PATCH] ostream: style and comments --- ostream.hpp | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/ostream.hpp b/ostream.hpp index db5cf15..fff9348 100644 --- a/ostream.hpp +++ b/ostream.hpp @@ -25,14 +25,22 @@ #include + +/////////////////////////////////////////////////////////////////////////////// std::ostream& operator<< (std::ostream&, VkPhysicalDeviceType); std::ostream& operator<< (std::ostream&, const VkPhysicalDeviceLimits&); std::ostream& operator<< (std::ostream&, const VkPhysicalDeviceProperties&); + +/////////////////////////////////////////////////////////////////////////////// namespace cruft::vk { -#define CRUFT_VK_OSTREAM(T) std::ostream& operator<< (std::ostream&, const cruft::vk::T&); -VK_TYPE_MAP (CRUFT_VK_OSTREAM) -#undef CRUFT_VK_OSTREAM + #define CRUFT_VK_OSTREAM(T) \ + std::ostream& \ + operator<< (std::ostream&, const cruft::vk::T&); + + VK_TYPE_MAP (CRUFT_VK_OSTREAM) + + #undef CRUFT_VK_OSTREAM } #endif