Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ print()

template<typename T>
void Ice::print ( std::ostream & stream,
T v )

Prints a value to a stream.

Template Parameters
TThe type of the value. It's either built-in Slice type or a type generated by the Slice compiler.
Parameters
streamThe stream.
vThe value to print.
Remarks
Depending on the type, v is passed by value or by const reference.