Struct is_printable< _Tp, typename std::enable_if< std::is_same< decltype(std::cout<< std::declval< _Tp >()), std::ostream & >::value >::type >

Synopsis

#include <lib/inc/drogon/drogon_test.h>

template <typename _Tp>
struct is_printable<_Tp,
                    typename std::enable_if<
                        std::is_same<decltype(std::cout << std::declval<_Tp>()),
                                     std::ostream&>::value>::type>
    : std::true_type

Description

No description yet.

Inheritance

Ancestors: true_type

Source

Lines 91-98 in lib/inc/drogon/drogon_test.h. Line 92 in lib/inc/drogon/drogon_test.h.

template <typename _Tp>
struct is_printable<_Tp,
                    typename std::enable_if<
                        std::is_same<decltype(std::cout << std::declval<_Tp>()),
                                     std::ostream&>::value>::type>
    : std::true_type
{
};





Add Discussion as Guest

Log in