diff liboctave/str-vec.h @ 10492:a6b64a7a3769

make feval work with overloaded handles
author Jaroslav Hajek <highegg@gmail.com>
date Wed, 07 Apr 2010 10:15:58 +0200
parents f9347eac65dc
children fd0a3ac60b0e
line wrap: on
line diff
--- a/liboctave/str-vec.h	Tue Apr 06 15:38:56 2010 +0200
+++ b/liboctave/str-vec.h	Wed Apr 07 10:15:58 2010 +0200
@@ -51,6 +51,9 @@
 
   string_vector (const std::set<std::string>& lst);
 
+  string_vector (const Array<std::string>& s)
+    : Array<std::string> (s.as_column ()) { }
+
   string_vector (const char * const *s);
 
   string_vector (const char * const *s, octave_idx_type n);