aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/function.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/function.cxx')
-rw-r--r--libbuild2/function.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/libbuild2/function.cxx b/libbuild2/function.cxx
index 79e7a81..25dacf9 100644
--- a/libbuild2/function.cxx
+++ b/libbuild2/function.cxx
@@ -117,13 +117,8 @@ namespace build2
// Overload resolution.
//
- // Ours is pretty simple: we sort all the overloads into three ranks:
- //
- // 0 -- all the arguments match exactly (perfect match)
- // 1 -- one or more arguments match via the derived-to-base conversion
- // 2 -- one or more arguments match via the reversal to untyped
- //
- // More than one match of the same rank is ambiguous.
+ // See the overall function machinery description for the ranking
+ // semantics.
//
auto ip (map_.equal_range (name));