Main MRPT website > C++ reference for MRPT 1.5.3
List of all members | Static Public Attributes | Static Private Member Functions
Sophus::details::IsStreamable< T > Class Template Reference

Detailed Description

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

Definition at line 39 of file common.hpp.

#include <mrpt/otherlibs/sophus/common.hpp>

Static Public Attributes

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

Static Private Member Functions

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

Member Function Documentation

◆ test() [1/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

◆ test() [2/2]

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

Member Data Documentation

◆ value

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

Definition at line 50 of file common.hpp.




Page generated by Doxygen 1.8.13 for MRPT 1.5.3 at Tue Oct 31 07:27:35 UTC 2017