Skip to content

Instantly share code, notes, and snippets.

@j2doll
Created August 12, 2017 07:34
Show Gist options
  • Save j2doll/8fcd51fcf3d516cfeda740747d27a7c4 to your computer and use it in GitHub Desktop.
Save j2doll/8fcd51fcf3d516cfeda740747d27a7c4 to your computer and use it in GitHub Desktop.
DB
// DB.h
// source from leveldb of code.google
class DB
{
public:
DB() { }   
virtual ~DB() {}
private: // No copying allowed   
DB(const DB&) {}   
void operator=(const DB&) {}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment