diff options
Diffstat (limited to 'libbuild2/scope.hxx')
-rw-r--r-- | libbuild2/scope.hxx | 5 |
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: |