Go to the documentation of this file.
39 template <
class ObjectType>
40 typename std::enable_if<std::is_class<ObjectType>::value,
size_t>::type
print(
Print& p,
const ObjectType&
object)
42 return object.printTo(p);
52 template <
typename T>
typename std::enable_if<!std::is_class<T>::value,
size_t>::type
print(
Print& p, T value)
54 return p.
print(value);
66 size_t size =
print(p, value);
size_t print(char c)
Prints a single character to output stream.
Definition: Print.h:97
size_t println()
Prints a newline to output stream.
Definition: Print.h:227
Definition: Array.hpp:107
size_t println(Print &p, T value)
Print an object or elementary variable appending a carriage return.
Definition: Print.hpp:64
Provides formatted output to stream.
Definition: Print.h:36
ObjectType
Definition: Libraries/jerryscript/src/include/Jerryscript/Types.h:44
std::enable_if< std::is_class< ObjectType >::value, size_t >::type print(Print &p, const ObjectType &object)
Print an object.
Definition: Print.hpp:40