BlueToe
an alternative GATT/BLE implementation
Loading...
Searching...
No Matches
Typedefs
meta_tools.hpp File Reference
#include <utility>
#include <type_traits>
#include <tuple>

Go to the source code of this file.

Typedefs

template<bool Select, typename A , typename B >
using bluetoe::details::select_type = wrap< typename select_type_impl< Select >::template f< A, B > >
 Select A or B by Select. If Select == true, the result is A; B otherwise.
 
template<typename Null , typename A , typename B >
using bluetoe::details::or_type = wrap< typename or_type_impl< Null, A >::template f< B > >
 return A if A is not Null, otherwise return B if B is not Null, otherwise Null
 

Detailed Description

This file contains all the generic meta template functions that are required by bluetoe