Andre Poenitz wrote:
On Fri, Apr 06, 2007 at 11:31:31AM +0200, Abdelrazak Younes wrote:map<docstring, char_type> MathSymbols;MathSymbols["\\lceil"] = 0x2308; MathSymbols["\\rceil"] = 0x2309; MathSymbols["\\lfloor"] = 0x230A; ... What do you think?I don't like it. static int const lceil = 0x2308; At least as expressive, in fact more robust as the compiler will recognize spelling errors, and no waste of cycles.
And how would you get the associated latex name with a simple int? Abdel.
