From 24a4d61e4455e62bc2e10db9e64b7b44daee3f6b Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Tue, 7 Jul 2009 02:17:37 +0000 Subject: [PATCH] Add "empty" support to standard containers. --- dispatchkit/bootstrap_stl.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dispatchkit/bootstrap_stl.hpp b/dispatchkit/bootstrap_stl.hpp index e629b2e..dadb064 100644 --- a/dispatchkit/bootstrap_stl.hpp +++ b/dispatchkit/bootstrap_stl.hpp @@ -104,6 +104,7 @@ namespace dispatchkit boost::function(&ContainerType::size), "size"); system.register_function( boost::function(&ContainerType::size), "maxsize"); + register_function(system, &ContainerType::empty, "empty"); } template