GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
ovl.h File Reference
#include "octave-config.h"
#include <string>
#include <vector>
#include <initializer_list>
#include "str-vec.h"
#include "Array.h"
#include "ov.h"
#include "Cell.h"
Include dependency graph for ovl.h:

Go to the source code of this file.


class  octave_value_list


template<typename... OV_Args>
octave_value_list ovl (const OV_Args &...args)
 Construct an octave_value_list with less typing. More...

Function Documentation

template<typename... OV_Args>
octave_value_list ovl ( const OV_Args &...  args)

Construct an octave_value_list with less typing.

Historically, this made it easier to create an octave_value_list from multiple octave_value arguments. It is no longer useful since octave_value_list has now a constructor accepting an initializer_list so all it does is save some typing. The following are equivalent:

return octave_value_list ({ov0, ov1, ov2});
return ovl (ov0, ov1, ov2);

Definition at line 190 of file ovl.h.