VLink 2.0.0
A high-performance communication middleware
载入中...
搜索中...
未找到
vlink::Traits 命名空间参考

Collection of compile-time type-trait helpers for VLink. 更多...

struct  EmptyType
 An empty tag type used as a neutral placeholder in template meta-programming. 更多...
struct  ExpectFalse
 A type trait that always evaluates to std::false_type. 更多...
struct  Callable
 Detects whether type T is callable with no arguments. 更多...
struct  Callable< T, std::void_t< decltype(std::declval< T >()())> >
struct  Assignable
 Detects whether an object of type OT can be assigned a value of type T. 更多...
struct  Assignable< OT, T, std::void_t< decltype(std::declval< OT & >()=std::declval< T >())> >
struct  EqualityComparable
 Detects whether OT supports the == operator with T. 更多...
struct  EqualityComparable< OT, T, std::void_t< decltype(std::declval< OT >()==std::declval< T >())> >
struct  GreaterComparable
 Detects whether OT supports both < and > operators with T. 更多...
struct  GreaterComparable< OT, T, std::void_t< decltype(std::declval< OT & >()< std::declval< T >()), decltype(std::declval< OT & >() > std::declval< T & >())> >
struct  Operatorable
 Detects whether OT supports << and >> stream operators with T. 更多...
struct  Operatorable< OT, T, std::void_t< decltype(std::declval< OT & >()<< std::declval< T >()), decltype(std::declval< OT & >() > > std::declval< T & >())> >
struct  IsAtomic
 Detects whether type T is a std::atomic specialization. 更多...
struct  IsAtomic< std::atomic< T > >
struct  IsSharedPtr
 Detects whether type T is a std::shared_ptr specialization. 更多...
struct  IsSharedPtr< T, std::void_t< typename T::element_type > >
struct  RemoveSharedPtr
 Strips std::shared_ptr to obtain the underlying element type. 更多...
struct  RemoveSharedPtr< T, true >

详细描述

Collection of compile-time type-trait helpers for VLink.