[Pre-processing] String Litereal Comparison for Equality

Dear all, Is there anyway (say using a utility in BOOST_PP) at pre-processing phase to compare string literals for equality? TIA, --Hossein ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com

-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Hossein Haeri
Is there anyway (say using a utility in BOOST_PP) at pre-processing phase to compare string literals for equality?
Unfortunately, there is no way. The string literal preprocessing token is impenetrable. Regards, Paul Mensonides

Paul (Mensonides),
Is there anyway (say using a utility in BOOST_PP) at pre-processing phase to compare string literals for equality?
Unfortunately, there is no way. The string literal preprocessing token is impenetrable.
Gosh! OK, what about a vector_c which carries string literals? AIAIK, there is no such thing! Or, is there? If not, is that possible to write one? (You may have alrady understood why I ask that; Because, at template instatiation phase the string literals are no more dead! There is type-cheking, etc etc.) BTW, I guess I'm better to start another thread on this, and therefore I do. TTFN, --Hossein ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
participants (2)
-
Hossein Haeri
-
Paul Mensonides