S
Steven T. Hatton
This looks very important, and potentially consequential. If it were added
to C++ it would certainly have a significant impact on the language. If
done right, it would be a boon. If done wrong it would be severely
detrimental.
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1778.pdf
"Introduction
Modules are a mechanism to package libraries and encapsulate their
implementations.
They differ from the C approach of translation units and header files
primarily in that all
entities are defined in just one place (even classes, templates, etc.). This
paper proposes a
module mechanism as an extension to namespaces with three primary goals:
? Significantly improve build times of large projects
? Enable a better separation between interface and implementation
? Provide a viable transition path for existing libraries
Before delving in the detailed benefits and issues of the proposal, this
paper offers some
examples illustrating general principles and common use cases. Along the way
some
nomenclature is introduced to enable concise discussion.
"
to C++ it would certainly have a significant impact on the language. If
done right, it would be a boon. If done wrong it would be severely
detrimental.
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1778.pdf
"Introduction
Modules are a mechanism to package libraries and encapsulate their
implementations.
They differ from the C approach of translation units and header files
primarily in that all
entities are defined in just one place (even classes, templates, etc.). This
paper proposes a
module mechanism as an extension to namespaces with three primary goals:
? Significantly improve build times of large projects
? Enable a better separation between interface and implementation
? Provide a viable transition path for existing libraries
Before delving in the detailed benefits and issues of the proposal, this
paper offers some
examples illustrating general principles and common use cases. Along the way
some
nomenclature is introduced to enable concise discussion.
"