2
0
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:
Dave Abrahams
2004-01-01 12:46:39 +00:00
parent b6707c8e61
commit 3a3f5631b9

View File

@@ -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