blob: d232b227cf1c2f38cba97614d5c84794a91e9d9e (
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
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "value.h"
namespace vespalib::slime {
/**
* Class representing a value containing absolutely nothing.
**/
class NixValue : public Value
{
private:
static NixValue _invalid;
static NixValue _instance;
NixValue() {}
public:
static Value *invalid() { return &_invalid; }
static Value *instance() { return &_instance; }
};
} // namespace vespalib::slime
|