CPARK 1.0
A light-weighted, distributed computing framework for C++ that offers a fast and general-purpose large data processing solution.
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
cpark::MergedTwoDiffView< V1, V2 > Class Template Reference

#include <merged_view.h>

Inheritance diagram for cpark::MergedTwoDiffView< V1, V2 >:

Classes

class  Iterator
 

Public Member Functions

 MergedTwoDiffView (V1 view1, V2 view2)
 
constexpr auto begin () const
 
constexpr auto end () const
 

Detailed Description

template<std::ranges::view V1, std::ranges::view V2>
requires std::same_as<std::ranges::range_value_t<V1>, std::ranges::range_value_t<V2>>
class cpark::MergedTwoDiffView< V1, V2 >

A helper class that combines two views of different types into one. Their element types must be the same.

Constructor & Destructor Documentation

◆ MergedTwoDiffView()

template<std::ranges::view V1, std::ranges::view V2>
cpark::MergedTwoDiffView< V1, V2 >::MergedTwoDiffView ( V1  view1,
V2  view2 
)
inline

Creates MergedTwoDiffView from two views of possibily different types.

Member Function Documentation

◆ begin()

template<std::ranges::view V1, std::ranges::view V2>
constexpr auto cpark::MergedTwoDiffView< V1, V2 >::begin ( ) const
inlineconstexpr

The iterator to the first element of the combined views.

◆ end()

template<std::ranges::view V1, std::ranges::view V2>
constexpr auto cpark::MergedTwoDiffView< V1, V2 >::end ( ) const
inlineconstexpr

The sentinel pass the last element of the combined views.


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