As title says, is there any way to pull something like this up?:
std::set<boost::shared_ptr<MyClass>> variable;
I know it is against some version of the standard, but can it be avoided?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You usually should put a space between the two
>characters:and of course
MyClassshould have been declared before you code the above.The newest C++11 standard removed the need to put a space between the
>occurrences.