H
Hansen
Hi Group,
I've made a statistic module for our framework, and have put it in a
namespace called stat (which resides in a namespace called dao)
My problem is that now the compiler thinks that it is the struct called stat
from wchar.h that I'm refering to even though I've written
dao::stat::stat_base
I have included the stat_base.h header and have checked for using
statements, but nothing seems to work.
#include "dao/stat/stat_base.h"
namespace dao
{
[ ....]
void attach(dao::stat::stat_base& stat_client) <--- compiler barfs
{
stat_client.attach(this->impl_ptr());
}
}
I'm using visual C++ 2005 Express
Does anyone know what might be the problem and the solution?
/Hansen
I've made a statistic module for our framework, and have put it in a
namespace called stat (which resides in a namespace called dao)
My problem is that now the compiler thinks that it is the struct called stat
from wchar.h that I'm refering to even though I've written
dao::stat::stat_base
I have included the stat_base.h header and have checked for using
statements, but nothing seems to work.
#include "dao/stat/stat_base.h"
namespace dao
{
[ ....]
void attach(dao::stat::stat_base& stat_client) <--- compiler barfs
{
stat_client.attach(this->impl_ptr());
}
}
I'm using visual C++ 2005 Express
Does anyone know what might be the problem and the solution?
/Hansen