aboutsummaryrefslogtreecommitdiff
path: root/build/target
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-16 19:03:08 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-16 19:03:08 +0200
commitaded6de920f420b5c36fee1081c795cf8c6c6dc9 (patch)
treeea62cba64fdd01cb8ae0a67611038e9522d6fa4d /build/target
parente62aef8ebe4b4b7eb733da6822d7759c0427222b (diff)
Rely on as few C++14 features as possible
Diffstat (limited to 'build/target')
-rw-r--r--build/target9
1 files changed, 5 insertions, 4 deletions
diff --git a/build/target b/build/target
index 22b5e89..c848f14 100644
--- a/build/target
+++ b/build/target
@@ -709,7 +709,7 @@ namespace build
// prerequisite_members(t.prerequisites)
//
- inline auto
+ inline prerequisite_members_range<target::prerequisites_type&>
prerequisite_members (action a, target& t, bool members = true)
{
return prerequisite_members (a, t.prerequisites, members);
@@ -717,7 +717,8 @@ namespace build
// prerequisite_members(reverse_iterate(t.prerequisites))
//
- inline auto
+ inline prerequisite_members_range<
+ butl::reverse_range<target::prerequisites_type&>>
reverse_prerequisite_members (action a, target& t, bool members = true)
{
return prerequisite_members (
@@ -726,7 +727,7 @@ namespace build
// prerequisite_members(group_prerequisites (t))
//
- inline auto
+ inline prerequisite_members_range<group_prerequisites>
group_prerequisite_members (action a, target& t, bool members = true)
{
return prerequisite_members (a, group_prerequisites (t), members);
@@ -734,7 +735,7 @@ namespace build
// prerequisite_members(reverse_iterate (group_prerequisites (t)))
//
- inline auto
+ inline prerequisite_members_range<butl::reverse_range<group_prerequisites>>
reverse_group_prerequisite_members (action a, target& t, bool members = true)
{
return prerequisite_members (