From f8bb2faef4b272ed150eb3ca4cedaa79da410694 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 11 Mar 2009 15:09:17 +0200 Subject: Allow initialization of pod_seq and fix_seq from a C array Use this in the hybrid/binary/custom example. --- documentation/cxx/hybrid/guide/index.xhtml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'documentation') diff --git a/documentation/cxx/hybrid/guide/index.xhtml b/documentation/cxx/hybrid/guide/index.xhtml index 9a95473..f9ffccb 100644 --- a/documentation/cxx/hybrid/guide/index.xhtml +++ b/documentation/cxx/hybrid/guide/index.xhtml @@ -2008,12 +2008,16 @@ public: void reserve (size_t); + + void + assign (const T* src, size_t n); };

When C++ exceptions are disabled, the signatures of the - push_back(), insert(), and - reserve() functions change as follows:

+ push_back(), insert(), + reserve(), and assign() functions + change as follows:

 template <typename T>
@@ -2040,6 +2044,9 @@ public:
 
   error
   reserve (size_t);
+
+  error
+  assign (const T* src, size_t n);
 };
   
-- cgit v1.1