From bab021a6203127f38fb89c61cc41deb3e0abbe62 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 17 Mar 2020 07:33:41 +0200 Subject: Add $defined() function --- libbuild2/function.cxx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'libbuild2/function.cxx') 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)); -- cgit v1.1