Home » Community » Newbie corner » NTL_MOVEABLE and other namespaces
NTL_MOVEABLE and other namespaces [message #33903] |
Sat, 24 September 2011 09:14 |
cbpporter
Messages: 1401 Registered: September 2007
|
Ultimate Contributor |
|
|
While working with Irrlicht, I had to use some structures with Vector and trying:
NTL_MOVEABLE(irr::video::S3DVertex);
Causes compilation errors.
The solution is to use explicit namespace structure:
namespace irr {
namespace video {
NTL_MOVEABLE(S3DVertex);
}
}
Just though that this might be a tip for some people working with third party libraries, especially since the behavior is not identical in MSC and GCC.
|
|
|
Goto Forum:
Current Time: Mon Jun 10 11:29:44 CEST 2024
Total time taken to generate the page: 0.02081 seconds
|