mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-10-05 04:01:04 +02:00
Compare commits
3 Commits
boost-1.43
...
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