clang-tools 20.0.0git
|
TopN<T> is a lossy container that preserves only the "best" N elements. More...
#include <Quality.h>
Public Types | |
using | value_type = T |
Public Member Functions | |
TopN (size_t N, Compare Greater=Compare()) | |
bool | push (value_type &&V) |
std::vector< value_type > | items () && |
TopN<T> is a lossy container that preserves only the "best" N elements.
using clang::clangd::TopN< T, Compare >::value_type = T |
|
inline |
|
inline |
|
inline |
Definition at line 197 of file Quality.h.
Referenced by clang::clangd::MemIndex::fuzzyFind(), and clang::clangd::getWorkspaceSymbols().