T
Timothy Madden
Hello
I have a header file, generated with flex++, that declares a class
phpFlexLexer in the global namespace.
I would like to include this header in the yy namespaces, like this:
namespace yy
{
#include "FlexLexer.h"
}
so the class would than be yy:hpFlexLexer, but than the standard
headers included by FlexLexer.h would declare symbols in namespace
yy::std
this way. Is there a way to write a using-declaration that brings the
global name std into namespace yy ? So that if I later #include
<iostream>
from namespace yy, than any attempts to populate yy::std would really
populate the global namespace std ?
Or maybe it is just ok to populate yy::std and let things go this way ?
Thank you,
Timothy Madden
I have a header file, generated with flex++, that declares a class
phpFlexLexer in the global namespace.
I would like to include this header in the yy namespaces, like this:
namespace yy
{
#include "FlexLexer.h"
}
so the class would than be yy:hpFlexLexer, but than the standard
headers included by FlexLexer.h would declare symbols in namespace
yy::std
this way. Is there a way to write a using-declaration that brings the
global name std into namespace yy ? So that if I later #include
<iostream>
from namespace yy, than any attempts to populate yy::std would really
populate the global namespace std ?
Or maybe it is just ok to populate yy::std and let things go this way ?
Thank you,
Timothy Madden