aboutsummaryrefslogtreecommitdiff
path: root/build2/variable.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-04-11 09:20:49 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-04-11 09:20:49 +0200
commit9da5febf1d9af9f5cb62d5d35fc87136e6e4cd60 (patch)
tree6a8d1f857810787cb6e25e6b416ac8bd5eb8b3d7 /build2/variable.txx
parent0342dc2fcdd78ef28a4e59d84193a3807068d726 (diff)
Add basic support for variable value inheritance
Currently, only abs_dir_path inherits from dir_path.
Diffstat (limited to 'build2/variable.txx')
-rw-r--r--build2/variable.txx2
1 files changed, 2 insertions, 0 deletions
diff --git a/build2/variable.txx b/build2/variable.txx
index bd7a18b..99ea79b 100644
--- a/build2/variable.txx
+++ b/build2/variable.txx
@@ -254,6 +254,7 @@ namespace build2
{
value_traits<vector<T>>::type_name.c_str (),
sizeof (vector<T>),
+ nullptr, // No base.
&default_dtor<vector<T>>,
&default_copy_ctor<vector<T>>,
&default_copy_assign<vector<T>>,
@@ -392,6 +393,7 @@ namespace build2
{
value_traits<map<K, V>>::type_name.c_str (),
sizeof (map<K, V>),
+ nullptr, // No base.
&default_dtor<map<K, V>>,
&default_copy_ctor<map<K, V>>,
&default_copy_assign<map<K, V>>,