souffle  2.0.2-371-g6315b36
Public Member Functions
souffle::detail::brie::default_merge< T > Struct Template Reference

A operation to be utilized by the sparse map when merging elements associated to different values. More...

#include <Brie.h>

Collaboration diagram for souffle::detail::brie::default_merge< T >:
Collaboration graph

Public Member Functions

operator() (T a, T b) const
 Merges two values a and b when merging spase maps. More...
 

Detailed Description

template<typename T>
struct souffle::detail::brie::default_merge< T >

A operation to be utilized by the sparse map when merging elements associated to different values.

Definition at line 140 of file Brie.h.

Member Function Documentation

◆ operator()()

template<typename T >
T souffle::detail::brie::default_merge< T >::operator() ( a,
b 
) const
inline

Merges two values a and b when merging spase maps.

Definition at line 144 of file Brie.h.

150  : node(node), value(std::move(value)) {}

Referenced by souffle::detail::brie::default_factory< T >::operator()().


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