On 12/3/15 9:20 PM, Andrei Alexandrescu wrote:
On 12/03/2015 08:59 PM, Steven Schveighoffer wrote:
On 12/3/15 8:01 PM, Andrei Alexandrescu wrote:
On 12/03/2015 05:59 PM, Steven Schveighoffer wrote:

alias stableLinearXxx = linearStableXxx;

Doesn't scale. -- Andrei

To what? How many nested namespaces are you planning?

Many functions, not many namespaces. One declaration per function is
fail. -- Andrei

It seems worse with namespaces:

1. a linear namespace
2. a sub namespace for linear.stable
3. a function definition for linear.stable.foo
4. a stable namespace
5. a sub namespace for stable.linear
6. an alias (I'm assuming you're not repeating the function definition here) for stable.linear.foo to linear.stable.foo

Perhaps my strawman isn't what you were thinking, let me know. It appears to me that you will need more machinery for namespaces.

-Steve

Reply via email to