aboutsummaryrefslogtreecommitdiff
path: root/build2/variable
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-11-21 11:56:00 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-21 11:56:00 +0200
commit7a528eab1561b0d0d4ec29f98355fe67025ea632 (patch)
tree28a2061f17e3ee625e8674378227a81a8738a6ec /build2/variable
parent3db0756adc641e0a63c4c9f194c4f73cceddd90c (diff)
Add support for derived-to-base function overload resolution
Diffstat (limited to 'build2/variable')
-rw-r--r--build2/variable8
1 files changed, 4 insertions, 4 deletions
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;