@disable
The Anh Tran
trtheanh at gmail.com
Fri Jan 15 09:01:18 PST 2010
Andrei Alexandrescu wrote:
> The main idea is to allow creation of noncopyable types by marking
> this(this) as @disable.
>
> Noncopyable types are pivotal for a number of idioms important in
> concurrency and elsewhere.
>
>
> Andrei
IMHO, we could extend existing syntax instead of invent new one.
I really love the Scale style:
Excerpt from Scala reference. Page 59.
package outerpkg.innerpkg
class Outer
{
class Inner
{
private[Outer] def f()
private[innerpkg] def g()
private[outerpkg] def h()
}
}
http://www.scala-lang.org/sites/default/files/linuxsoft_archives/docu/files/ScalaReference.pdf
More information about the Digitalmars-d
mailing list