Static_object::construct

"watermirror" <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel,gmane.spam.detected
Message-ID <[email protected]>
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?

_______________________________________________
l4-hackers mailing list
[email protected]
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.