
I removed all 'using namespace std' , but problem still exists. Joaqu�n M� L�pez Mu�oz <joaquin@tid.es> wrote: Hello again, mahesh karanth ha escrito:
1.URLHandler class which uses Boost.Regex
#ifndef _URLHANDLER_ #define _URLHANDLER_ ... using namespace boost; using namespace std; ... #endif
2.CacheStore class which uses Boost.multiindex
#ifndef _CACHESTORE_H_ #define _CACHESTORE_H_ ... using boost::multi_index_container; using namespace boost::multi_index; using namespace std; ... #endif //_CACHESTORE_H_
Both are of diffrent DLL's.
I am using the above two class inside the main() which looks as follows
#include "URLHandler.h" #include "CacheStore.h"
[...] Well, I guess the problem is one of the two "using namespace std" (or both) that you have in URLHandler.h and CacheStore.h. I'd try removing them (and explicitly std::-qualifying as necessary). Since you're at it, I'd also remove the other using's referring to multi_index, since in general it is bad idea to have them in header files. Good luck, and please report your results, Joaqu�n M L�pez Mu�oz Telef�nica, Investigaci�n y Desarrollo _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost --------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.