mirror of
https://github.com/boostorg/python.git
synced 2026-01-24 06:02:14 +00:00
merged from trunk
[SVN r21443]
This commit is contained in:
@@ -36,9 +36,20 @@ typedef detail::keywords<1> arg;
|
||||
|
||||
namespace detail
|
||||
{
|
||||
// A hack to simplify code by making arg a dependent name
|
||||
template <std::size_t nkeywords>
|
||||
struct dependent_arg
|
||||
{
|
||||
typedef arg type;
|
||||
};
|
||||
|
||||
template <std::size_t nkeywords>
|
||||
struct keywords_base
|
||||
{
|
||||
typedef typename
|
||||
dependent_arg<nkeywords>::type
|
||||
arg;
|
||||
|
||||
BOOST_STATIC_CONSTANT(std::size_t, size = nkeywords);
|
||||
|
||||
keyword_range range() const
|
||||
|
||||
Reference in New Issue
Block a user