U++ framework
Do not panic. Ask here before giving up.

Home » Community » Newbie corner » NTL_MOVEABLE and other namespaces
NTL_MOVEABLE and other namespaces [message #33903] Sat, 24 September 2011 09:14
cbpporter is currently offline  cbpporter
Messages: 1428
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.
Previous Topic: CPP file dependency
Next Topic: Scatter: To find width bwt any two points.
Goto Forum:
  


Current Time: Tue Apr 28 16:23:13 GMT+2 2026

Total time taken to generate the page: 0.00486 seconds