PrevUpHomeNext

kpp::kspt::register_printable


---- kpp::kspt::register_printable << Output Concepts << Output << Kpp c++ ----

kpp::kspt::register_printable is a c++ concept of kpp c++ library. It requires the target type is class has defined a method .register_print.

kpp::kspt::register_printable :

template <typename type_t00, typename ostream_type_t01>
concept register_printable = ...;

The method .register_print must satisfy the following signature:

class my_class
{
public:
	the_ostream & register_print(the_ostream_type & object__) const
	{
		// ... do real print
		// ... do real print
		return object__;
	}
};

See Method: .register_print

See Also

Method: .register_print

kpp::kspt::ostream_printable

kpp::kspt::printable

kpp::print

Back

Up










Deck

Kpp Home


PrevUpHomeNext