yfast 0.6.1
Loading...
Searching...
No Matches
yfast.h
1#ifndef _YFAST_INTERNAL_YFAST_H
2#define _YFAST_INTERNAL_YFAST_H
3
4#include <utility>
5
6#include <yfast/impl/xfast.h>
7
8namespace yfast::internal {
9
10template <typename Key, typename Value>
11struct XFastLeaf: public XFastLeafBase<Key, XFastLeaf<Key, Value>> {
12 Value value;
13
14 explicit XFastLeaf(const Key& key, Value&& value): XFastLeafBase<Key, XFastLeaf>(key), value(std::move(value)) {}
15};
16
17}
18
19#endif
Definition xfast.h:9