8 Jul
1999
8 Jul
'99
4:27 a.m.
benben xiao <xiaoxiaoben@hotmail.com> writes:
I recently see the Fiasco resoure.I have a problem that I found main.cc 55 kernel_thread_t *kernel=new(&config::kernel_id); call main.cc 80 kernel_thread_t::operator new(size_t,threadid_t id);. I don't know how to transmit the parameter of type size_t.
You don't -- the compiler generates it implicitly. There is a difference between the "new" operator and the "operator new" function. For more information please consult a good book on C++. Michael -- hohmuth@innocent.com, hohmuth@inf.tu-dresden.de http://home.pages.de/~hohmuth/