Ver código fonte

* object(f), where f is a function pointer now works. Returning a
* function pointer from a function should work also.
* make_function/make_constructor now return object instead of a raw pointer.
* module::setattr() now accepts anything which can be passed to object's constructor.

* Rework upcast<> to catch more errors at compile-time instead of infinite-looping.
* Rationalize class<>::def() in preparation for docstring support
* Partial docstring support in module::def (untested)
* dependent<> trick moved to detail namespace and separate header

* Added __doc__ attribute to C++ function wrapper objects
* Sunk implementation of function_object into a library source file.


[SVN r14724]

Dave Abrahams 24 anos atrás
pai
commit
db664f913f
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      libs/python

+ 1 - 1
libs/python

@@ -1 +1 @@
-Subproject commit 61d030748c79817d8025ea10c97b3c14c3c94824
+Subproject commit 56e7b2a592e74cdacf4518565970f7f50dd3f571

粤ICP备19079148号