in C++ , what’s so special about “_MOVE_H”?

just run grep _MOVE_H in /usr/include/c++ on your machine

for me :

c++/4.5.0/bits/move.h:#ifndef _MOVE_H

As a rule of thumb, don’t use things (really anything) prefixed by _ or __. It’s reserved for internal usage.
Use SOMETHING_MOVE_H (usually name of the company, …).

I guess it’s a new header used to add the move semantic to c++0x.

Leave a Comment