diff libinterp/octave-value/ov-cell.h @ 20618:e5986cba4ca8

new octave_value::cell_value method with optional error message * ov.h, ov.cc (octave_value::cell_value): New method. * ov-base.h, ov-base.cc (octave_base_value::cell_value): New default method. * ov-cell.h, ov-cell.cc (octave_cell::cell_value): New method.
author John W. Eaton <jwe@octave.org>
date Fri, 09 Oct 2015 14:41:49 -0400
parents 09ed6f7538dd
children
line wrap: on
line diff
--- a/libinterp/octave-value/ov-cell.h	Fri Oct 09 10:06:39 2015 -0400
+++ b/libinterp/octave-value/ov-cell.h	Fri Oct 09 14:41:49 2015 -0400
@@ -135,6 +135,8 @@
 
   Cell cell_value (void) const { return matrix; }
 
+  Cell cell_value (const char *, va_list) const { return matrix; }
+
   octave_value_list list_value (void) const;
 
   octave_value convert_to_str_internal (bool pad, bool, char type) const