2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-26 18:52:26 +00:00

detail-ified the gen_*.py scripts

changed defaults to handle up to 10 arguments


[SVN r8274]
This commit is contained in:
Dave Abrahams
2000-11-21 15:00:54 +00:00
parent b7805af02c
commit caae49861f
12 changed files with 1753 additions and 218 deletions

View File

@@ -16,7 +16,7 @@ def gen_singleton(args):
# include "pyconfig.h"
namespace py {
namespace py { namespace detail {
struct Empty {};
template <class Derived, class Base = Empty>
@@ -42,7 +42,7 @@ Derived* Singleton<Derived,Base>::singleton()
return &x;
}
}
}} // namespace py::detail
#endif
""")