diff options
Diffstat (limited to 'boost/spirit/home/qi/detail/permute_function.hpp')
-rw-r--r-- | boost/spirit/home/qi/detail/permute_function.hpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/boost/spirit/home/qi/detail/permute_function.hpp b/boost/spirit/home/qi/detail/permute_function.hpp index 8b1ed8a596..4366568eb8 100644 --- a/boost/spirit/home/qi/detail/permute_function.hpp +++ b/boost/spirit/home/qi/detail/permute_function.hpp @@ -43,22 +43,6 @@ namespace boost { namespace spirit { namespace qi { namespace detail return false; } - template <typename Component, typename Attribute> - bool operator()(Component const& component, boost::optional<Attribute>& attr) - { - // return true if the parser succeeds and the slot is not yet taken - Attribute val; - if (!*taken && component.parse(first, last, context, skipper, val)) - { - attr = val; - *taken = true; - ++taken; - return true; - } - ++taken; - return false; - } - template <typename Component> bool operator()(Component const& component) { |