Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 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.
Previous Topic: CPP file dependency
Next Topic: Scatter: To find width bwt any two points.
Goto Forum:
  


Current Time: Mon Apr 29 07:40:47 CEST 2024

Total time taken to generate the page: 0.03122 seconds