Posted By


initiationone on 11/24/10

Tagged


Statistics


Viewed 640 times
Favorited by 0 user(s)

DISALLOW_COPY_AND_ASSIGN


/ Published in: C++
Save to your folder(s)



Copy this code and paste it in your HTML
  1. #define DISALLOW_COPY_AND_ASSIGN(TypeName) \
  2.   TypeName(const TypeName&); \
  3.   void operator=(const TypeName&)

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.