In reply to dave_59:
In reply to VE:
Have you tried it?
What to you expect f.build() to do?
" Have you tried it ?"
-- Yes, i did run 3 simulators. i got the message "i am build" from the function f.build() without creating an object of foo ( f = new()) from all 3.
" What to you expect f.build() to do "
-- My code is just a small test case to demo my question, basically i want to use the command pattern in my TB. It seems to me there is unnecessary to have f = new(); i am not sure it is related to C++ style? "static" ? or ....?