28 Apr
2014
28 Apr
'14
10:08 p.m.
El 28/04/2014 12:49, james escribió:
Hi,
I'm trying to write a wrapper over some of boost::interprocess and I want to have a function like this:
template
T* Wrapper::createStruct(const std::string& name, Args&&... args) { return m_shm->construct<T>(name.c_str())(std::forward<Args>(args)...); }
I can't see why the arguments are not forwarded. Could you elaborate a compilable little test case to reproduce the problem? Best, Ion