Pioneer
Loading...
Searching...
No Matches
Public Member Functions | List of all members
nv::Weld< T, H, E > Struct Template Reference

#include <Weld.h>

Public Member Functions

Uint32 operator() (std::vector< T > &p, std::vector< Uint32 > &xrefs)
 

Detailed Description

template<class T, class H = hash<T>, class E = Equal<T>>
struct nv::Weld< T, H, E >

Generic welding routine. This function welds the elements of the array p and returns the cross references in the xrefs array. To compare the elements it uses the given hash and equal functors.

This code is based on the ideas of Ville Miettinen and Pierre Terdiman.

Member Function Documentation

◆ operator()()

template<class T , class H = hash<T>, class E = Equal<T>>
Uint32 nv::Weld< T, H, E >::operator() ( std::vector< T > &  p,
std::vector< Uint32 > &  xrefs 
)
inline
Here is the call graph for this function:

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