METATEST_DEFINE_TO_STREAM_FOR_TYPE

Synopsis

#define METATEST_DEFINE_TO_STREAM_FOR_TYPE(name, display_name) \
  // unspecified

Description

Defines an overload of to_stream for the type name. display_name is a constant expression that can be displayed in a stream using operator<<.

#include <metatest/to_stream_fwd.hpp>

Example

class custom_type;

METATEST_DEFINE_TO_STREAM_FOR_TYPE(custom_type, "custom_type")

[up]