Question

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

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top