blob: 8d10e647aeed25e52e75eeff56a9656185f916cb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include <yql/essentials/public/purecalc/purecalc.h>
namespace NYql {
namespace NPureCalc {
template <typename T>
class TEmptyStreamImpl: public IStream<T> {
public:
T Fetch() override {
return nullptr;
}
};
template <typename T>
THolder<IStream<T>> EmptyStream() {
return MakeHolder<TEmptyStreamImpl<T>>();
}
}
}
|