aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/vespa/vespalib/test/btree/data_printer.h
blob: 9067f674ae454c4af5ca0bb4fde17a2c5f311392 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

namespace vespalib::btree {

class BtreeNoLeafData;

namespace test {

template <typename ostream, typename DataT>
void printData(ostream &os, const DataT &data);

template <typename ostream, typename DataT>
void printData(ostream &os, const DataT &data)
{
    os << ":" << data;
}

template <typename ostream>
void printData(ostream &os, const BTreeNoLeafData &data)
{
    (void) os;
    (void) data;
}

} // namespace vespalib::btree::test
} // namespace vespalib::btree