[Commits] [wesnoth/wesnoth] 8483f8: Refactored variant_iterator implementation

GitHub noreply at github.com
Tue Apr 4 03:59:05 UTC 2017


  Branch: refs/heads/wfl_variant_iterator
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 8483f8be1c04bceef17d1a67b23f7207df0dc81a
      https://github.com/wesnoth/wesnoth/commit/8483f8be1c04bceef17d1a67b23f7207df0dc81a
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-04-04 (Tue, 04 Apr 2017)

  Changed paths:
    M src/formula/callable.hpp
    M src/formula/callable_fwd.hpp
    M src/formula/variant.cpp
    M src/formula/variant.hpp
    M src/formula/variant_value.cpp
    M src/formula/variant_value.hpp

  Log Message:
  -----------
  Refactored variant_iterator implementation

This generalizes the iterator interface beyond only TYPE_LIST and TYPE_MAP. The new implementation also
makes TYPE_CALLABLE iterable.





More information about the Commits mailing list