PrintToString()
Contents
[
Hide
]System::TestPredicates::Details::PrintToString(const T&) function
Prints object to string by selecting proper serializer function.
template<typename T> std::enable_if_t<!TypeTraits::IsEnumerable<T>::value, std::string> System::TestPredicates::Details::PrintToString(const T &value)
Template parameters
Parameter | Description |
---|---|
T | Object type. |
Arguments
Parameter | Type | Description |
---|---|---|
value | const T& | Object to print. |
Return Value
String representations of object passed.
System::TestPredicates::Details::PrintToString(const T&) function
Prints ICollection-style containers to string by printing their elements (not more than 32).
template<typename T> std::enable_if_t<TypeTraits::IsEnumerable<T>::value, std::string> System::TestPredicates::Details::PrintToString(const T &value)
Template parameters
Parameter | Description |
---|---|
T | Object type. |
Arguments
Parameter | Type | Description |
---|---|---|
value | const T& | Object to print. |
Return Value
Joint string representations of contained elements.
System::TestPredicates::Details::PrintToString(std::nullptr_t) function
Prints nullptr to string.
std::string System::TestPredicates::Details::PrintToString(std::nullptr_t)
Return Value
"nullptr" string.
System::TestPredicates::Details::PrintToString(const Collections::Generic::IEnumerable<bool>&) function
Prints IEnumerable
std::string System::TestPredicates::Details::PrintToString(const Collections::Generic::IEnumerable<bool> &value)
Template parameters
Parameter | Description |
---|---|
T | Object type. |
Arguments
Parameter | Type | Description |
---|---|---|
value | const Collections::Generic::IEnumerable<bool>& | Object to print. |
Return Value
Joint string representations of contained elements.
See Also
- Class IEnumerable
- Struct IsEnumerable
- Namespace System::TestPredicates::Details
- Library Aspose.Slides