http://www.devx.com/cplus/Article/28105/0/page/3
Look at this page. On one of the lines, the code is
What does this mean? It seems to assign a new StringImp to the pimpl variable, but what is the difference between the above code, and this:Code:String::String(): pimpl (new String::StringImpl) {}
What exactly does the colon after the constructor do?Code:String::String() { pimpl=new String::StringImpl }