aboutsummaryrefslogtreecommitdiff
path: root/libxsd/xsd/cxx/tree/list.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libxsd/xsd/cxx/tree/list.hxx')
-rw-r--r--libxsd/xsd/cxx/tree/list.hxx20
1 files changed, 11 insertions, 9 deletions
diff --git a/libxsd/xsd/cxx/tree/list.hxx b/libxsd/xsd/cxx/tree/list.hxx
index 75972c6..f4367c3 100644
--- a/libxsd/xsd/cxx/tree/list.hxx
+++ b/libxsd/xsd/cxx/tree/list.hxx
@@ -44,14 +44,16 @@ namespace xsd
{
}
- list (typename sequence<T>::size_type n, const T& x)
- : sequence<T> (n, x)
+ list (typename sequence<T>::size_type n,
+ const T& x,
+ container* c = 0)
+ : sequence<T> (n, x, c)
{
}
template<typename I>
- list (const I& b, const I& e)
- : sequence<T> (b, e)
+ list (const I& b, const I& e, container* c = 0)
+ : sequence<T> (b, e, c)
{
}
@@ -92,14 +94,14 @@ namespace xsd
}
explicit
- list (typename sequence<T>::size_type n, const T& x)
- : sequence<T> (n, x)
+ list (typename sequence<T>::size_type n, const T& x, container* c = 0)
+ : sequence<T> (n, x, c)
{
}
template<typename I>
- list (const I& b, const I& e)
- : sequence<T> (b, e)
+ list (const I& b, const I& e, container* c = 0)
+ : sequence<T> (b, e, c)
{
}
@@ -129,4 +131,4 @@ namespace xsd
}
}
-#endif // XSD_CXX_TREE_LIST_HXX
+#endif // XSD_CXX_TREE_LIST_HXX