Skip to content

Instantly share code, notes, and snippets.

Bartłomiej Filipek fenbf

Block or report user

Report or block fenbf

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View HasToString.cpp
template <typename T>
class HasToString
{
private:
typedef char YesType[1];
typedef char NoType[2];
template <typename C> static YesType& test( decltype(&C::ToString) ) ;
template <typename C> static NoType& test(...);
You can’t perform that action at this time.