25 lines
642 B
C++
25 lines
642 B
C++
#pragma once
|
|
|
|
#include <boost/container/small_vector.hpp>
|
|
|
|
#include <values/value.hpp>
|
|
|
|
struct IkarusTextValue final : IkarusValue {
|
|
public:
|
|
using data_type = std::string;
|
|
|
|
public:
|
|
explicit IkarusTextValue();
|
|
|
|
IkarusTextValue(IkarusTextValue const&) = default;
|
|
IkarusTextValue(IkarusTextValue&&) = default;
|
|
|
|
IkarusTextValue& operator=(IkarusTextValue const&) = default;
|
|
IkarusTextValue& operator=(IkarusTextValue&&) = default;
|
|
|
|
~IkarusTextValue() override = default;
|
|
|
|
public:
|
|
boost::variant2::variant<boost::variant2::monostate, boost::container::small_vector<data_type, SMALL_VEC_VALUE_SIZE>> data{
|
|
};
|
|
};
|