Agora  1.2.0
Agora project
fmt::v8::detail::is_streamable< T, Char, Enable > Class Template Referenceabstract

#include <ostream.h>

Public Member Functions

 is_streamable ()=default
 

Static Public Attributes

static const bool value = result::value
 

Private Types

using result = decltype(test< T >(0))
 

Static Private Member Functions

template<typename U >
static auto test (int) -> bool_constant< sizeof(std::declval< std::basic_ostream< Char > & >()<< std::declval< U >()) !=0 >
 
template<typename >
static auto test (...) -> std::false_type
 

Member Typedef Documentation

◆ result

template<typename T , typename Char , typename Enable = void>
using fmt::v8::detail::is_streamable< T, Char, Enable >::result = decltype(test<T>(0))
private

Constructor & Destructor Documentation

◆ is_streamable()

template<typename T , typename Char , typename Enable = void>
fmt::v8::detail::is_streamable< T, Char, Enable >::is_streamable ( )
default

Member Function Documentation

◆ test() [1/2]

template<typename T , typename Char , typename Enable = void>
template<typename >
static auto fmt::v8::detail::is_streamable< T, Char, Enable >::test (   ...) -> std::false_type
staticprivate

◆ test() [2/2]

template<typename T , typename Char , typename Enable = void>
template<typename U >
static auto fmt::v8::detail::is_streamable< T, Char, Enable >::test ( int  ) -> bool_constant< sizeof(std::declval< std::basic_ostream< Char > & >()<< std::declval< U >()) !
staticprivatepure virtual

Member Data Documentation

◆ value

template<typename T , typename Char , typename Enable = void>
const bool fmt::v8::detail::is_streamable< T, Char, Enable >::value = result::value
static

The documentation for this class was generated from the following file: