Domanda

I'm looking at a doxygen code example and seeing the following.

/**  
  @file test.h  
  @brief Define helper functions  
  $Id: test.h,v 1.10 2012/10/10 10:10:10 author Exp $  
*/ 

Can anyone explain what does $Id: do here?

Thanks

È stato utile?

Soluzione

That's not a doxygen line at all. That's a source-control command character telling it to substitute in version information so you can see in the source which committed version you're working with. See http://www.badgertronics.com/writings/cvs/keywords.html

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top