implement value.hpp
Signed-off-by: Folling <mail@folling.io>
This commit is contained in:
parent
8ad9869d0d
commit
2f5159beac
6 changed files with 93 additions and 96 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <boost/container/vector.hpp>
|
||||
#include <boost/variant2.hpp>
|
||||
|
||||
#include <values/value.hpp>
|
||||
|
||||
|
|
@ -20,5 +21,5 @@ public:
|
|||
~IkarusNumberValue() override = default;
|
||||
|
||||
public:
|
||||
boost::container::vector<data_type> value{};
|
||||
boost::variant2::variant<boost::variant2::monostate, boost::container::vector<data_type>> data{};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue