Static_object::construct
watermirror
357836635 at qq.com
Fri May 8 08:10:18 CEST 2015
hi,
template< typename T >
class Static_object
{
public:
....
template< typename... A >
T *construct(A&&... args)
{ return new (_i) T(cxx::forward<A>(args)...); }
...
};
this template class is defined in fiasco/src/types.h, what does the method 'construct' mean?
i have tried to move this class to eclipse cdt project, but it can not be compiled correctly. how does this class be compiled in fiasco?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20150508/c90cac18/attachment.html>
More information about the l4-hackers
mailing list