wallet-core icon indicating copy to clipboard operation
wallet-core copied to clipboard

[Ontology]: Change usage of `boost::any` in favor of `std::variant`

Open Milerius opened this issue 1 year ago • 0 comments

Describe the bug

Implementation of Ontology use boost::any in the VM build parameters, we should switch it to std::variant instead, the usage of any is not justified here since we knows at compile time the number of types that the VM should handle: https://www.cppstories.com/2018/06/any/#when-to-use

Since the code was already here before #2514 - I will handle this one separately.

Milerius avatar Aug 21 '22 18:08 Milerius