uvcc
libuv C++ bindings
uv::is_convertible_to_one_of< _T_, _Ts_ > Struct Template Reference

Checks if a type _T_ is convertible to one of the types from the type list _Ts_. More...

#include "utility.hpp"

Detailed Description

template<typename _T_, typename... _Ts_>
struct uv::is_convertible_to_one_of< _T_, _Ts_ >

Checks if a type _T_ is convertible to one of the types from the type list _Ts_.

Provides the constexpr value that is equal to the index of the type from the type list _Ts_ which the given type _T_ can be converted to by using implicit conversion. The index starts from 1 up to sizeof...(_Ts_) or is 0 otherwise.

Definition at line 115 of file utility.hpp.


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