aboutsummaryrefslogtreecommitdiff
path: root/build/algorithm
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-06-30 15:07:03 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-06-30 15:07:03 +0200
commit70af0087d8efb3f2f7dc9ffdf2568419913f16da (patch)
treedceeab7a3c600add8bf3f3375a2d83ca11213624 /build/algorithm
parent18568ff0ff3dce89d694b494c5dfc9a32e63c9e6 (diff)
Group "see through" iteration, take 1
Diffstat (limited to 'build/algorithm')
-rw-r--r--build/algorithm13
1 files changed, 9 insertions, 4 deletions
diff --git a/build/algorithm b/build/algorithm
index ad53b95..2547466 100644
--- a/build/algorithm
+++ b/build/algorithm
@@ -29,9 +29,15 @@ namespace build
target&
search (const prerequisite_key&);
+ // As above but override the target type. Useful for searching for
+ // target group members where we need to search for a different
+ // target type.
+ //
+ target&
+ search (const target_type&, const prerequisite_key&);
+
// As above but specify the prerequisite to search as individual
- // key components. Useful for searching for target group members
- // where we need to search for a different target type.
+ // key components.
//
target&
search (const target_type& type,
@@ -69,8 +75,7 @@ namespace build
search_and_match (action, target&, const dir_path&);
// Unless already available, match, and, if necessary, execute
- // (not yet implemented) the group in order to obtain its members
- // list.
+ // the group in order to obtain its members list.
//
group_view
resolve_group_members (action, target_group&);