
26 Nov
2008
26 Nov
'08
5:41 p.m.
AMDG Kenny Riddile wrote:
Yes, I had that thought too, especially since I believe __FILE__ gives the entire path of the file. Still, I didn't know if there was some magical way to extract the desired section of the __FILE__ output using boost preprocessor or something. I've never used that library before.
There is not. __FILE__ is a character array literal. There is no way to introspect such a beast. Also see http://www.boost.org/doc/html/typeof/refe.html#typeof.incr In Christ, Steven Watanabe