On 28 September 2016 at 13:24, Ram
This is the compilation error I get,
x_objs.cpp c:\codeworks\common\lib\boost\boost\unordered\detail\buckets.hpp(767) : error C2059: syntax error : '('
It's a bit hard to know without context, but this appears to be the same issue you're having with multi_index in another thread. It looks like that syntax error is for the code: template<typename Type> void construct(void* p,const Type& t) { new (p) Type(t); } Here, you're getting an error for: void construct(bool which, H const& hf, P const& eq) { new((void*) &funcs_[which]) function_pair(hf, eq); } More complicated, but both are using placement new, so I guess that something in your environment is incompatible with placement new. Try building a minimal example to see if it works, for example: #include <new> int main() { int space; void* ptr = &space; new (ptr) int(); } If that works okay, try also including the headers that you use in your project to see if any of them cause it to stop working.