We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
just as in Singleton
The text was updated successfully, but these errors were encountered:
What do you think the purpose of boost::noncopyable base class is?
Sorry, something went wrong.
sorry if I didn't state it clearly, what I meant is the default constructor, like you wrote in Singleton class:
private: Singleton(); ~Singleton();
As I understand, boost::noncopyable only declared the copy constructor and assigment operator to be private,
for you current ThreadLocalSingleton class, I think user can still write sth like:
ThreadLocalSingleton t1, t2, t3;
On Tue, Mar 12, 2013 at 11:17 PM, Shuo Chen notifications@github.comwrote:
What do you think the purpose of boost::noncopyable base class is? — Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-14781132 .
— Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-14781132 .
ChuChao
Disable ThreadLocalSingleton ctor, thanks to chuchao333. Fix #2.
ac2f010
You are right, thank you. fixed,
No branches or pull requests
just as in Singleton
The text was updated successfully, but these errors were encountered: