Boost logo

Boost :

Subject: Re: [boost] enum / string translation
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2009-07-22 13:19:59


Zachary Turner wrote:

> Not if you declare it in a cpp file, but if you declare it in a highly
> visible .h file then yes. Do you have a way around this so that it
> can be declared in a .h file?

Well, I'd want the compile-time map and the declaration of th eruntime
map in a header, but the definition of the runtime map in a .cpp file.
But with your approach of both being defined at the same time, I can't
do that.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk