diff options
Diffstat (limited to 'build2/target')
-rw-r--r-- | build2/target | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/build2/target b/build2/target index 5c897f1..9b3c679 100644 --- a/build2/target +++ b/build2/target @@ -1013,6 +1013,18 @@ namespace build2 const string* ext, tracer&); + template <typename T> + T& + insert (const target_type& tt, + dir_path dir, + dir_path out, + string name, + const string* ext, + tracer& t) + { + return static_cast<T&> ( + insert (tt, move (dir), move (out), move (name), ext, t).first); + } template <typename T> T& |