mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-11-15 23:09:41 +01:00
Compare commits
3 Commits
boost-1.71
...
boost-1.32
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
337e414515 | ||
|
|
aa00436b68 | ||
|
|
8a47b48f0e |
@@ -115,7 +115,7 @@ class MyClass {
|
|||||||
int add_one() { return ++*ptr; }
|
int add_one() { return ++*ptr; }
|
||||||
};
|
};
|
||||||
|
|
||||||
void main()
|
int main()
|
||||||
{
|
{
|
||||||
boost::scoped_ptr<Shoe> x(new Shoe);
|
boost::scoped_ptr<Shoe> x(new Shoe);
|
||||||
MyClass my_instance;
|
MyClass my_instance;
|
||||||
|
|||||||
Reference in New Issue
Block a user