What is name lookup?A name lookup is a name in the specified logically grouped names in the namespace, using scope operator (::). The compiler tries to look up the name in the specified namespace through the scope.
What is name lookup?When a function is called, which function to call is decided by the name look up. It is also known as argument dependent lookup (ADL), or argument dependent name lookup. It applies to the lookup of an unqualified function name depending on the types of the arguments given to the function call.