2009-09-04から1日間の記事一覧
synchronized member functions now implicitly typed as shared. class A { synchronized void f(){} } void main() { A x = new A; x.f(); // error auto y = new shared(A); y.f(); // ok }
synchronized member functions now implicitly typed as shared. class A { synchronized void f(){} } void main() { A x = new A; x.f(); // error auto y = new shared(A); y.f(); // ok }