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");
|
boost::function<size_t (ContainerType *)>(&ContainerType::size), "size");
|
||||||
system.register_function(
|
system.register_function(
|
||||||
boost::function<size_t (ContainerType *)>(&ContainerType::size), "maxsize");
|
boost::function<size_t (ContainerType *)>(&ContainerType::size), "maxsize");
|
||||||
|
register_function(system, &ContainerType::empty, "empty");
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename ContainerType>
|
template<typename ContainerType>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user