On Wed, Dec 11, 2019 at 6:53 PM Gabriel Dos Reis via Modules <mod...@lists.isocpp.org> wrote:Named modules make ‘inline’ redundant for exported constexpr (or any other) variable.
We should resist temptation to require more annotation/declaration that most programmers consider noise.
-- Gaby
Completely agreed. I would not look forward to having to explain to people why you can export a non-constexpr variable without doing anything special, but if you want to export a constexpr variable you also need to include the "inline" keyword, which is a keyword that seems completely meaningless for variables in a modules world to the regular programmer. I think it would be ideal if it were meaningless on variables in a module, not just seemingly meaningless.