Static Public Attributes | Static Private Member Functions | List of all members
Sophus::details::IsStreamable< T > Class Template Reference

#include <common.hpp>

Static Public Attributes

static const bool value = decltype(test<T>(0))::value
 

Static Private Member Functions

template<class >
static auto test (...) -> std::false_type
 
template<class TT >
static auto test (int) -> decltype(std::declval< std::stringstream & >()<< std::declval< TT >(), std::true_type())
 

Detailed Description

template<class T>
class Sophus::details::IsStreamable< T >

Definition at line 44 of file common.hpp.

Member Function Documentation

◆ test() [1/2]

template<class T >
template<class >
static auto Sophus::details::IsStreamable< T >::test (   ...) -> std::false_type
staticprivate

◆ test() [2/2]

template<class T >
template<class TT >
static auto Sophus::details::IsStreamable< T >::test ( int  ) -> decltype(std::declval< std::stringstream & >()<< std::declval< TT >(), std::true_type())
staticprivate

Member Data Documentation

◆ value

template<class T >
const bool Sophus::details::IsStreamable< T >::value = decltype(test<T>(0))::value
static

Definition at line 55 of file common.hpp.


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


sophus
Author(s): Hauke Strasdat
autogenerated on Wed Mar 2 2022 01:01:48