mirror of
https://github.com/boostorg/python.git
synced 2026-01-23 17:52:17 +00:00
merged from trunk
[SVN r18264]
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
'''
|
||||
>>> from shared_ptr_ext import *
|
||||
|
||||
>>> a = New(1)
|
||||
>>> A.call_f(a)
|
||||
1
|
||||
>>> New(0)
|
||||
|
||||
>>> type(factory(3))
|
||||
<class 'shared_ptr_ext.Y'>
|
||||
>>> type(factory(42))
|
||||
|
||||
Reference in New Issue
Block a user