From cae16e6c034808199f12a37ec0bdb4822c988dca Mon Sep 17 00:00:00 2001 From: olpc user Date: Tue, 26 Nov 2019 12:25:58 -0800 Subject: switch data to use std::any and merge value struct with concept --- starts/meaning-vm/level-1/funcs.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'starts/meaning-vm/level-1/funcs.hpp') diff --git a/starts/meaning-vm/level-1/funcs.hpp b/starts/meaning-vm/level-1/funcs.hpp index eab37e5..741a5af 100644 --- a/starts/meaning-vm/level-1/funcs.hpp +++ b/starts/meaning-vm/level-1/funcs.hpp @@ -12,14 +12,13 @@ namespace intellect { namespace level1 { concept* getnamed(std::string const & name); -value* getname(concept* r); +std::string& getname(concept* r); bool isa(concept* member, concept* group); concept* hyphenate(concept* a, concept* b); -template -value* valloc(T const & val); +concept* alloc(std::any val); } } -- cgit v1.2.3