problem in defining list

hello everyone well i am using this command i want to know whether my syntax is correct or not?

list "node_data*" ndlist;
std::list <node_data*> ndlist;
Topic archived. No new replies allowed.