用malloc给结构(此结构中有对象,如std:list)分配内存后, 怎么初始化其内部对象?

用malloc给结构(此结构中有对象,如std::list)分配内存后, 如何初始化其内部对象??typedefstruct{std::list

用malloc给结构(此结构中有对象,如std::list)分配内存后, 如何初始化其内部对象??
typedef   struct   {
    std::list <int*>   mylist;
    pthread_mutex_t   lock;
}   mystruct;

mystruct*   p   =   (mystruct*)malloc(sizeof(mystruct));

下面怎么做??


[解决办法]
不要用malloc,直接用new!!!
不要自找麻烦!!!