From 7a528eab1561b0d0d4ec29f98355fe67025ea632 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 21 Nov 2016 11:56:00 +0200 Subject: Add support for derived-to-base function overload resolution --- build2/variable | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'build2/variable') diff --git a/build2/variable b/build2/variable index a3f050d..4fd802f 100644 --- a/build2/variable +++ b/build2/variable @@ -30,10 +30,10 @@ namespace build2 const size_t size; // Type size in value::data_ (only used for PODs). // Base type, if any. We have very limited support for inheritance: a - // const value (but not non-const) can be cast to the base type. In - // particular, a derived/base value cannot be assigned to base/derived. - // If not NULL, then the cast function below is expected to return the - // base pointer if its second argument points to the base's value_type. + // value can be cast to the base type. In particular, a derived/base value + // cannot be assigned to base/derived. If not NULL, then the cast function + // below is expected to return the base pointer if its second argument + // points to the base's value_type. // const value_type* base; -- cgit v1.1