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
cpark::concepts::HasId Concept Reference

#include <base_rdd.h>

Concept definition

template<typename T>
concept cpark::concepts::HasId = requires(const T& t) {
t.id();
requires std::is_arithmetic_v<decltype(t.id())>;
}
Definition base_rdd.h:21

Detailed Description

A concept that requires its classes' objects are id-able, which means these objects can be identified by a numerical id. These classes should have an id() member function returning a numerical id.