Added introspecition/classification of types

This commit is contained in:
Jason Turner
2009-11-21 06:39:35 +00:00
parent 15ffbd200a
commit a0c6366479
4 changed files with 22 additions and 0 deletions

View File

@@ -530,6 +530,9 @@ namespace chaiscript
m->add(fun(&Boxed_Value::is_undef), "is_undef");
m->add(fun(&Boxed_Value::is_null), "is_null");
m->add(fun(&Boxed_Value::is_const), "is_const");
m->add(fun(&Boxed_Value::is_ref), "is_reference");
m->add(fun(&Boxed_Value::is_pointer), "is_pointer");
basic_constructors<bool>("bool", m);
operators::assign<bool>(m);