1#ifndef COVISE_TRY_PRINT_H
2#define COVISE_TRY_PRINT_H
10 -> std::integral_constant<bool, std::is_reference<
decltype(
operator<<(std::cerr, T()))>
::value>;
39 if (className && errorMsg)
41 os << className << errorMsg;
GLsizei const GLfloat * value
Definition: khronos-glext.h:6760
GLdouble GLdouble t
Definition: khronos-glext.h:6449
GLenum type
Definition: khronos-glext.h:6279
list of all chemical elements
Definition: coConfig.h:27
std::enable_if< HasPrintMethod< T >::value >::type tryPrintWithError(std::ostream &os, const T &t, const char *className, const char *errorMsg)
Definition: tryPrint.h:22
static auto hasPrintMethod(int) -> std::integral_constant< bool, std::is_reference< decltype(operator<<(std::cerr, T()))>::value >
void tryPrintWithError< char const * >(std::ostream &os, const char *const &t, const char *className, const char *errorMsg)
Definition: tryPrint.h:47
QTextStream & operator<<(QTextStream &out, const coConfigEntryStringList list)
Definition: coConfigEntryString.cpp:159
void tryPrintWithError< char * >(std::ostream &os, char *const &t, const char *className, const char *errorMsg)
Definition: tryPrint.h:60
void tryPrint(const T &t)
Definition: tryPrint.h:74
Definition: tryPrint.h:17