LibraryLink Utilities  3.0.1
Modern C++ wrapper over LibraryLink and WSTP
UtilityTypeTraits.hpp File Reference

Type traits used by WSStream to identify types supported by WSTP. More...

Detailed Description

Type traits used by WSStream to identify types supported by WSTP.

Date
Feb 7, 2018
Author
Rafal Chojna rafal.nosp@m.c@wo.nosp@m.lfram.nosp@m..com
#include <type_traits>
#include "wstp.h"
#include "LLU/Utilities.hpp"
+ Include dependency graph for UtilityTypeTraits.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 LLU
 Main namespace of LibraryLink Utilities.
 
 LLU::WS
 Contains definitions related to WSTP functionality in LLU.
 

Variables

template<typename T >
constexpr bool LLU::WS::supportedInWSArithmeticQ = false
 Utility trait that determines whether type T is a suitable data type for functions like WSPut*Array, WSGet*List, WSPutScalar, etc. More...
 
template<typename T >
constexpr bool LLU::WS::ScalarSupportedTypeQ = supportedInWSArithmeticQ<remove_cv_ref<T>>
 Convenient alias for supportedInWSArithmeticQ<T> that strips T from cv-qualifiers and reference. More...
 
template<typename T >
constexpr bool LLU::WS::supportedInWSStringQ = false
 Utility trait that determines whether type T is a suitable character type for WSPut*String and WSGet*String. More...
 
template<typename T >
constexpr bool LLU::WS::StringTypeQ = supportedInWSStringQ<remove_cv_ref<T>>
 Convenient alias for supportedInWSStringQ<T> that strips T from cv-qualifiers and reference. More...