ostream: style and comments
This commit is contained in:
parent
5ef137fda4
commit
3d2229ea93
14
ostream.hpp
14
ostream.hpp
@ -25,14 +25,22 @@
|
|||||||
|
|
||||||
#include <ostream>
|
#include <ostream>
|
||||||
|
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
std::ostream& operator<< (std::ostream&, VkPhysicalDeviceType);
|
std::ostream& operator<< (std::ostream&, VkPhysicalDeviceType);
|
||||||
std::ostream& operator<< (std::ostream&, const VkPhysicalDeviceLimits&);
|
std::ostream& operator<< (std::ostream&, const VkPhysicalDeviceLimits&);
|
||||||
std::ostream& operator<< (std::ostream&, const VkPhysicalDeviceProperties&);
|
std::ostream& operator<< (std::ostream&, const VkPhysicalDeviceProperties&);
|
||||||
|
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
namespace cruft::vk {
|
namespace cruft::vk {
|
||||||
#define CRUFT_VK_OSTREAM(T) std::ostream& operator<< (std::ostream&, const cruft::vk::T&);
|
#define CRUFT_VK_OSTREAM(T) \
|
||||||
VK_TYPE_MAP (CRUFT_VK_OSTREAM)
|
std::ostream& \
|
||||||
#undef CRUFT_VK_OSTREAM
|
operator<< (std::ostream&, const cruft::vk::T&);
|
||||||
|
|
||||||
|
VK_TYPE_MAP (CRUFT_VK_OSTREAM)
|
||||||
|
|
||||||
|
#undef CRUFT_VK_OSTREAM
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user