cxlove / DesignPattern

The example code from head first design patterns for practicing
0 stars 2 forks source link

Optimize Singleton members #6

Closed Justme0 closed 8 years ago

Justme0 commented 8 years ago

Make copy and assignment member function inaccessible in new style; The assignment function should return a reference.

cxlove commented 8 years ago

@Justme0 Could you change the commit message to "Issue #2: Optimize Singleton members" ? After I merger the request, the commit will be showed in Issue Page. That is convenient to view the record later. Thanks.

Justme0 commented 8 years ago

I see you have referenced this issue in issue #2 ,that's OK? It seems that just to change the title is useless.

cxlove commented 8 years ago

@Justme0 OK, i have no experience for git pr. Thanks for your contribution.