20 years ago
Highlights
Community contributions featuredOk, just found a solution, because expression (_1 + _2)(p1, p2) returns a value(string), ret<string> needs to be in front of the expression:string s = ret<string>(_1…
20 years ago
For the following code, why (*) doesn't work? using namespace std; using namespace boost::lambda; string p1("Hello"); string p2("World"); string s = (_1 + _2)(p1, p2); // can't…
20 years ago
20 years, 5 months ago
Ok, I've got the following code template<typename T> class Test { public: void Foo() { typedef std::vector<T>::iterator vec_itor; // 1 } typedef std::vector<T>…
20 years, 5 months ago
Hi every one. Recently i start (re)designing my (crappy) physics engine, and wanna add polymorphism(virtual functions) in to make it more flexible. Since virtual functions…
20 years, 11 months ago
Latest Activity
See all in DiscussionsOk, just found a solution, because expression (_1 + _2)(p1, p2) returns a value(string), ret<string> needs to be in front …
20 years ago
For the following code, why (*) doesn't work? using namespace std; using namespace boost::lambda; string p1("Hello"); string p2("World"); string s …
20 years ago
Thanks for the quick reply~~~~For anyone interested in "Two-Phase Name Lookup", I just found a codeproject article http://www.codeproject.com/cpp/TwoPhaseLookup.asp
20 years, 5 months ago