I was reading this code in a book and i dont get it can any body tell me what is going on in this??
this was about operator overloading in value class....
Visual C++ != C++ though AFAIK the caret(^) and initonly are C++/CLI features. Looking at some of the reviews the book goes over C++/CLI, Visual c++ and c++. If you wish to learn only c++ I would suggest checking out the tutorials on this site, http://www.learncpp.com/ or http://www.parashift.com/c++-faq/