|
Boost Users : |
From: Black Ice (yg-boost-users_at_[hidden])
Date: 2003-03-28 11:03:57
Thanks
-- /*******************/ 自由(liberty)无非就是这样一种承诺:每个人将会得到一种保障,保障我们可以与 权威、多数、流俗及舆论的影响相抗衡。 /*******************/ "William E. Kempf" <wekempf_at_[hidden]> 写入消息新闻 :1052.167.16.75.11.1048861944.squirrel_at_frodo.kempf-ville.com... > > Black Ice said: > > void foo(string & str) > > { > > str = "foo"; > > } > > > > int main(int argc, char * argv[]) > > { > > string str1("Hello world"); > > string str2(str1); > > > > thread trd1(bind(&foo, str1)); > > thread trd2(bind(&foo, str2)); > > trd1.join(); > > trd2.join(); > > return 0; > > } > > This has been discussed on the developers list. As long as you use the > same RTL, you can ignore these warnings. The next release will address > this by removing the warnings through pragmas. > > -- > William E. Kempf > > > > > Info: <http://www.boost.org> > Wiki: <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl> > Unsubscribe: <mailto:boost-users-unsubscribe_at_[hidden]> > > > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ > > >
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net