[Commits] [wesnoth/wesnoth] aca6ca: Refactored variant_iterator implementation

GitHub noreply at github.com
Tue Apr 4 05:04:27 UTC 2017


  Branch: refs/heads/wfl_variant_iterator
  Home:   https://github.com/wesnoth/wesnoth
  Commit: aca6cae04b0d61ca6d9033db184e596eebca5f8e
      https://github.com/wesnoth/wesnoth/commit/aca6cae04b0d61ca6d9033db184e596eebca5f8e
  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