diff options
author | olpc user <olpc@xo-5d-f7-86.localdomain> | 2019-11-26 12:25:58 -0800 |
---|---|---|
committer | olpc user <olpc@xo-5d-f7-86.localdomain> | 2019-11-26 12:25:58 -0800 |
commit | cae16e6c034808199f12a37ec0bdb4822c988dca (patch) | |
tree | d2ec4daa9650e4e58d159bc3ef172d05947b2db2 /starts/meaning-vm/level-1/funcs.hpp | |
parent | 0a9e019f082578895e4ebc88e4b89188da17947f (diff) | |
download | standingwithresilience-cae16e6c034808199f12a37ec0bdb4822c988dca.tar.gz standingwithresilience-cae16e6c034808199f12a37ec0bdb4822c988dca.zip |
switch data to use std::any and merge value struct with concept
Diffstat (limited to 'starts/meaning-vm/level-1/funcs.hpp')
-rw-r--r-- | starts/meaning-vm/level-1/funcs.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
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<std::string>* getname(concept* r); +std::string& getname(concept* r); bool isa(concept* member, concept* group); concept* hyphenate(concept* a, concept* b); -template <typename T> -value<T>* valloc(T const & val); +concept* alloc(std::any val); } } |