mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-07 09:16:53 +08:00
Add "empty" support to standard containers.
This commit is contained in:
parent
c974ab0034
commit
24a4d61e44
@ -104,6 +104,7 @@ namespace dispatchkit
|
||||
boost::function<size_t (ContainerType *)>(&ContainerType::size), "size");
|
||||
system.register_function(
|
||||
boost::function<size_t (ContainerType *)>(&ContainerType::size), "maxsize");
|
||||
register_function(system, &ContainerType::empty, "empty");
|
||||
}
|
||||
|
||||
template<typename ContainerType>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user