aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/scope.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/scope.hxx')
-rw-r--r--libbuild2/scope.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbuild2/scope.hxx b/libbuild2/scope.hxx
index 25657a3..d441267 100644
--- a/libbuild2/scope.hxx
+++ b/libbuild2/scope.hxx
@@ -367,6 +367,11 @@ namespace build2
return derive_target_type (name, T::static_type);
}
+ // Derive from an "exemplar" type overriding the factory.
+ //
+ const target_type&
+ derive_target_type (const target_type&);
+
// Rules.
//
public: