STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Types
stapl::tuple_ops::result_of::difference< Larger, Smaller, Check > Struct Template Reference

Metafunction to compute the result of set difference between two tuples. More...

Public Types

using type = typename detail::difference_impl< 0, tuple_size< Larger >::value, Larger, Smaller, tuple<>, Check >::type
 

Detailed Description

template<typename Larger, typename Smaller, template< typename... > class Check = tuple_ops::tuple_contains>
struct stapl::tuple_ops::result_of::difference< Larger, Smaller, Check >

Metafunction to compute the result of set difference between two tuples.

For example, if Larger is <0,2,4> and Smaller is <0,4>, the result will be <2>.

Template Parameters
LargerTuple of elements
SmallerTuple of elements. Must have less or equal elements than Larger.

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