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>
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user