Add utility class btree_detail::noop_value_visitor
This commit is contained in:
parent
a48227188e
commit
c571a08f6c
17
persistent-data/data-structures/btree_base_visitor.h
Normal file
17
persistent-data/data-structures/btree_base_visitor.h
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#ifndef PERSISTENT_DATA_DATA_STRUCTURES_BTREE_BASE_VISITOR_H
|
||||||
|
#define PERSISTENT_DATA_DATA_STRUCTURES_BTREE_BASE_VISITOR_H
|
||||||
|
|
||||||
|
#include "persistent-data/data-structures/btree.h"
|
||||||
|
|
||||||
|
namespace persistent_data {
|
||||||
|
namespace btree_detail {
|
||||||
|
template <typename ValueType>
|
||||||
|
class noop_value_visitor {
|
||||||
|
public:
|
||||||
|
virtual void visit(btree_path const &path, ValueType const &v) {
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user