Skip to content

Commit b8c18b6

Browse files
author
mikeblome
committed
fix per additional tech review
1 parent ba080a2 commit b8c18b6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docs/cpp/modules-cpp.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,12 @@ You can create a module with a single interface file (.ixx) that exports names a
8383

8484
For larger modules, you can split the module into multiple module units called *partitions*. Each partition consists of an interface file backed by one or more implementation files. (Note: As of Visual Studio 2019 version 16.2, partitions are not yet fully implemented.)
8585

86-
## Modules and namespaces
86+
## Modules, namespaces, and argument-dependent lookup
8787

8888
The rules for namespaces in modules are the same as in any other code. If a declaration within a namespace is exported, the enclosing namespace (excluding non-exported members) is also implicitly exported. If a namespace is explicitly exported, all declarations within that namespace definition are exported.
8989

90+
When performing argument-dependent lookup for overload resolutions in the importing translation unit, the compiler considers functions which are declared in the same translation unit (including module interfaces) as where the type of the function's arguments are defined.
91+
9092
### Module partitions
9193

9294
>[!NOTE]

0 commit comments

Comments
 (0)