ug4
ug::sortStruct< T > Struct Template Reference

#include <algebra_misc.h>

Public Member Functions

bool operator< (const sortStruct< T > &other) const
 

Public Attributes

size_t index
 
sortValue
 

Detailed Description

template<typename T>
struct ug::sortStruct< T >

template struct for sorting some keys after values for example, sorting a vector of ints and know original pos

Member Function Documentation

◆ operator<()

template<typename T >
bool ug::sortStruct< T >::operator< ( const sortStruct< T > &  other) const
inline

Member Data Documentation

◆ index

template<typename T >
size_t ug::sortStruct< T >::index

◆ sortValue

template<typename T >
T ug::sortStruct< T >::sortValue

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